From: Felix Fietkau Date: Sat, 2 Feb 2008 23:10:21 +0000 (+0100) Subject: split warning options from other compiler options X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fuci.git;a=commitdiff_plain;h=72d64f1bf4ee47788fee5b3eb4149c9fb34859d3 split warning options from other compiler options --- diff --git a/Makefile b/Makefile index c136915..bcd5676 100644 --- 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