From a2cbca7ae12041a07f7ed6eb084406e9ce093494 Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Tue, 22 Apr 2014 15:09:23 +0000 Subject: [PATCH] respect CFLAGS in linking command fixes #1233 --- src/i3.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- 2.39.5