split warning options from other compiler options
authorFelix Fietkau <nbd@openwrt.org>
Sat, 2 Feb 2008 23:10:21 +0000 (00:10 +0100)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 2 Feb 2008 23:10:21 +0000 (00:10 +0100)
Makefile

index c136915a734565b736d66bacbd41245e3feff79c..bcd5676285989f0834520f5a1ea504e655cc38ca 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,6 @@
 COPTS=-O2
-CFLAGS=$(COPTS) -fPIC -Wall -pedantic -std=gnu99 -Wno-unused -Werror
+WOPTS=-pedantic -Wno-unused -Werror
+CFLAGS=$(COPTS) -fPIC -Wall -std=gnu99
 ifneq ($(DEBUG),)
   COPTS = -O0
   CFLAGS += -g3 -DDEBUG_ALL