]> git.sur5r.net Git - i3/i3/commitdiff
respect CFLAGS in linking command
authorJulian Ospald <hasufell@gentoo.org>
Tue, 22 Apr 2014 15:09:23 +0000 (15:09 +0000)
committerMichael Stapelberg <michael@stapelberg.de>
Wed, 23 Apr 2014 15:55:15 +0000 (17:55 +0200)
fixes #1233

src/i3.mk

index c6c30d7a46c3ed0e175225813b9111a63c81cc29..6a5341f9449e159f688d46f5b086c0c80bfc1ed5 100644 (file)
--- 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"