From: Julian Ospald Date: Tue, 22 Apr 2014 15:09:23 +0000 (+0000) Subject: respect CFLAGS in linking command X-Git-Tag: 4.8~79 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a2cbca7ae12041a07f7ed6eb084406e9ce093494;p=i3%2Fi3 respect CFLAGS in linking command fixes #1233 --- diff --git a/src/i3.mk b/src/i3.mk index c6c30d7a..6a5341f9 100644 --- a/src/i3.mk +++ b/src/i3.mk @@ -64,7 +64,7 @@ i3-config-parser.stamp: generate-command-parser.pl parser-specs/config.spec i3: libi3.a $(i3_OBJECTS) echo "[i3] Link i3" - $(CC) $(I3_LDFLAGS) $(LDFLAGS) -o $@ $(filter-out libi3.a,$^) $(LIBS) $(i3_LIBS) + $(CC) $(CFLAGS) $(I3_LDFLAGS) $(LDFLAGS) -o $@ $(filter-out libi3.a,$^) $(LIBS) $(i3_LIBS) install-i3: i3 echo "[i3] Install"