From 7e4c9f199bcec61c4960de2929ec6f266c79416e Mon Sep 17 00:00:00 2001 From: mtaylor Date: Fri, 11 Apr 2008 04:15:17 +0000 Subject: [PATCH] Use EXTRA_CFLAGS intead of CFLAGS. Remove -Werror git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@3537 0192ed92-7a03-0410-a25b-9323aeb14dbd --- Makefile.inc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile.inc b/Makefile.inc index 86e3531..9c4ab3a 100644 --- a/Makefile.inc +++ b/Makefile.inc @@ -229,22 +229,22 @@ NM := $(save_NM) include $(TOP)/BuildCaps.inc ifeq ($(strip $(ATH_DEBUG)),1) -CFLAGS += -DAR_DEBUG -DIEEE80211_DEBUG +EXTRA_CFLAGS += -DAR_DEBUG -DIEEE80211_DEBUG endif ifeq ($(strip $(ATH_DEBUG_SPINLOCKS)),1) -CFLAGS += -DATH_DEBUG_SPINLOCKS +EXTRA_CFLAGS += -DATH_DEBUG_SPINLOCKS endif ifeq ($(strip $(IEEE80211_DEBUG_REFCNT)),1) -CFLAGS += -DIEEE80211_DEBUG_REFCNT +EXTRA_CFLAGS += -DIEEE80211_DEBUG_REFCNT endif # Ensure correct endianess LDFLAGS += $(LDOPTS) # Be pedantic -CFLAGS += -Werror -Wall +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