]> git.ipfire.org Git - thirdparty/iw.git/commitdiff
Do not set -O2 -g CFLAGS if CFLAGS are already defined (in the env).
authorRobert Buchholz <rbu@goodpoint.de>
Wed, 7 Jan 2009 14:46:13 +0000 (15:46 +0100)
committerJohannes Berg <johannes@sipsolutions.net>
Wed, 7 Jan 2009 14:57:04 +0000 (15:57 +0100)
Makefile

index 9ff0c0d31226e7367dc5f0cf44dabff9371439b7..2c629fec5974dc09580cc112c86d77945ddfea73 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -10,8 +10,8 @@ MKDIR ?= mkdir -p
 INSTALL ?= install
 CC ?= "gcc"
 
+CFLAGS ?= -O2 -g
 CFLAGS += -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration
-CFLAGS += -O2 -g
 
 OBJS = iw.o info.o phy.o interface.o station.o util.o mpath.o reg.o mesh.o genl.o
 ALL = iw