summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Make.Rules5
1 files changed, 3 insertions, 2 deletions
diff --git a/Make.Rules b/Make.Rules
index 3eeb098..00f2a03 100644
--- a/Make.Rules
+++ b/Make.Rules
@@ -78,10 +78,11 @@ OBJCOPY := $(CROSS_COMPILE)objcopy
DEBUG = # -g -DDEBUG
WARNINGS=-Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align \
- -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs \
+ -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs \
-Winline -Wshadow
COPTS ?= -O2
-CFLAGS ?= $(COPTS) $(WARNINGS) $(DEBUG)
+CFLAGS ?= $(COPTS) $(DEBUG)
+CFLAGS += $(WARNINGS)
CPPFLAGS += -Dlinux $(DEFINES) $(LIBCAP_INCLUDES)
LDFLAGS ?= # -g