From 8cb29230388c679371183838fa7d82377a9eb493 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 28 Oct 2005 13:11:00 +0000 Subject: don't use -Wmissing-prototypes for C++ code --- configs/linux-dri | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'configs/linux-dri') diff --git a/configs/linux-dri b/configs/linux-dri index 108b3f1224..a28c770861 100644 --- a/configs/linux-dri +++ b/configs/linux-dri @@ -13,7 +13,6 @@ MKDEP = /usr/X11R6/bin/makedepend #MKDEP = gcc -M #MKDEP_OPTIONS = -MF depend -WARN_FLAGS = -Wall -Wmissing-prototypes OPT_FLAGS = -g PIC_FLAGS = -fPIC @@ -27,10 +26,10 @@ DEFINES = -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE \ X11_INCLUDES = -I/usr/X11R6/include -CFLAGS = $(WARN_FLAGS) $(OPT_FLAGS) $(PIC_FLAGS) $(ARCH_FLAGS) $(DEFINES) \ - $(ASM_FLAGS) -std=c99 -ffast-math +CFLAGS = -Wall -Wmissing-prototypes $(OPT_FLAGS) $(PIC_FLAGS) $(ARCH_FLAGS) \ + $(DEFINES) $(ASM_FLAGS) -std=c99 -ffast-math -CXXFLAGS = $(WARN_FLAGS) $(OPT_FLAGS) $(PIC_FLAGS) $(ARCH_FLAGS) $(DEFINES) +CXXFLAGS = -Wall $(OPT_FLAGS) $(PIC_FLAGS) $(ARCH_FLAGS) $(DEFINES) ASM_SOURCES = -- cgit v1.2.3