summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 e3119ec5cd..0ffc1bcb57 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 293f2e789d..108b3f1224 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.