projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b2ecfd
)
config: add -Wdeclaration-after-statement to linux config
author
Brian Paul
<brianp@vmware.com>
Thu, 12 Mar 2009 23:21:20 +0000
(17:21 -0600)
committer
Brian Paul
<brianp@vmware.com>
Thu, 12 Mar 2009 23:21:20 +0000
(17:21 -0600)
Should help to catch Windows build issues earlier.
configs/linux
patch
|
blob
|
history
diff --git
a/configs/linux
b/configs/linux
index 15700a1a3bf4236b75a0df38de5f6ecf035b88c4..73a6b61b2f603f299b3eeb652358196561ae417b 100644
(file)
--- a/
configs/linux
+++ b/
configs/linux
@@
-22,7
+22,8
@@
DEFINES = -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE \
X11_INCLUDES = -I/usr/X11R6/include
-CFLAGS = -Wall -Wmissing-prototypes $(OPT_FLAGS) $(PIC_FLAGS) $(ARCH_FLAGS) \
+CFLAGS = -Wall -Wmissing-prototypes -Wdeclaration-after-statement \
+ $(OPT_FLAGS) $(PIC_FLAGS) $(ARCH_FLAGS) \
$(DEFINES) $(ASM_FLAGS) $(X11_INCLUDES) -std=c99 -ffast-math
CXXFLAGS = -Wall $(OPT_FLAGS) $(PIC_FLAGS) $(ARCH_FLAGS) $(DEFINES) \