Move all warnings, pedantic or otherwise, to the WARNINGS variable - seems they were...
authormentor <mentor@0192ed92-7a03-0410-a25b-9323aeb14dbd>
Fri, 18 Apr 2008 02:08:35 +0000 (02:08 +0000)
committermentor <mentor@0192ed92-7a03-0410-a25b-9323aeb14dbd>
Fri, 18 Apr 2008 02:08:35 +0000 (02:08 +0000)
git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@3546 0192ed92-7a03-0410-a25b-9323aeb14dbd

Makefile.inc

index 9c4ab3a70f1b913d8a2ab269379064b5fb36b91b..f23c406129599c47492278f6217655bee7b24113 100644 (file)
@@ -147,7 +147,7 @@ ATH_RATE=   $(TOP)/ath_rate
 # 
 TOOLS=  $(TOP)/tools 
 
-WARNINGS = -Werror
+WARNINGS = -Werror -Wall
 COPTS+= $(WARNINGS)
 INCS=  -include $(TOP)/include/compat.h -I$(TOP)/include
 
@@ -243,9 +243,6 @@ endif
 # Ensure correct endianess
 LDFLAGS += $(LDOPTS)
 
-# Be pedantic
-EXTRA_CFLAGS += -Wall
-
 # Filter out compiler options that are not supported by all compilers
 # and that are not needed to ensure compatible architecture and calling
 # conventions.