EXIT AUTOCRAP \o/
[apps/madmutt.git] / tools / cflags.mk
index 32e4a95..3e790dd 100644 (file)
@@ -2,9 +2,7 @@ ifneq ($(filter 4.%,$(shell gcc -dumpversion)),)
   GCC4=1
 endif
 
-LDFLAGS += -Wl,--warn-common
-
-CFLAGS := -g
+CFLAGS := -ggdb3
 
 # Use pipes and not temp files.
 CFLAGS += -pipe
@@ -35,6 +33,7 @@ CFLAGS += -Wwrite-strings
 CFLAGS += -Wsign-compare
 # warn about unused declared stuff
 CFLAGS += -Wunused
+CFLAGS += -Wno-unused-parameter
 # warn about variable use before initialization
 CFLAGS += -Wuninitialized
 # warn about variables which are initialized with themselves