aboutsummaryrefslogtreecommitdiffstats
path: root/configs
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2005-09-06 03:13:18 +0000
committerBrian Paul <[email protected]>2005-09-06 03:13:18 +0000
commitbd07168eb23c032ee28691c9847319d2ad7f490f (patch)
tree5170cc50c0d52612c1b373f99dfab4dadeb8c61e /configs
parent158a2aa488a0bab82381ec2c6eedd2b5bb7202ca (diff)
added -Wmissing-prototypes to WARN_FLAGS
Diffstat (limited to 'configs')
-rw-r--r--configs/linux2
-rw-r--r--configs/linux-dri4
2 files changed, 3 insertions, 3 deletions
diff --git a/configs/linux b/configs/linux
index e3119ec5cdb..0ffc1bcb573 100644
--- a/configs/linux
+++ b/configs/linux
@@ -8,7 +8,7 @@ CONFIG_NAME = linux
CC = gcc
CXX = g++
-WARN_FLAGS = -Wall
+WARN_FLAGS = -Wall -Wmissing-prototypes
OPT_FLAGS = -O3 -g
PIC_FLAGS = -fPIC
diff --git a/configs/linux-dri b/configs/linux-dri
index 293f2e789d5..108b3f1224f 100644
--- a/configs/linux-dri
+++ b/configs/linux-dri
@@ -13,8 +13,8 @@ MKDEP = /usr/X11R6/bin/makedepend
#MKDEP = gcc -M
#MKDEP_OPTIONS = -MF depend
-WARN_FLAGS = -Wall
-OPT_FLAGS = -O -g
+WARN_FLAGS = -Wall -Wmissing-prototypes
+OPT_FLAGS = -g
PIC_FLAGS = -fPIC
# Add '-DGLX_USE_TLS' to ARCH_FLAGS to enable TLS support.