Mesa (gallium-0.2): cell: add -std=c99 flag to solve some warning/ prototype issues

Brian Paul brianp at kemper.freedesktop.org
Wed Oct 22 17:15:52 UTC 2008


Module: Mesa
Branch: gallium-0.2
Commit: 82477e485de8f18b24353bbf7e6ed03edca59edc
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=82477e485de8f18b24353bbf7e6ed03edca59edc

Author: Brian Paul <brian.paul at tungstengraphics.com>
Date:   Wed Oct 22 11:13:55 2008 -0600

cell: add -std=c99 flag to solve some warning/prototype issues

---

 configs/linux-cell |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/configs/linux-cell b/configs/linux-cell
index 8d74ee4..f68a685 100644
--- a/configs/linux-cell
+++ b/configs/linux-cell
@@ -24,7 +24,7 @@ OPT_FLAGS = -O3
 SDK = /opt/cell/sdk/usr
 
 
-CFLAGS = $(OPT_FLAGS) -Wall -Winline -fPIC -m32 -mabi=altivec -maltivec \
+CFLAGS = $(OPT_FLAGS) -Wall -Winline -fPIC -m32 -std=c99 -mabi=altivec -maltivec \
 	-I. -I$(SDK)/include \
 	-DGALLIUM_CELL -DUSE_XSHM
 




More information about the mesa-commit mailing list