respect CFLAGS in linking command

fixes #1233
This commit is contained in:
Julian Ospald 2014-04-22 15:09:23 +00:00 committed by Michael Stapelberg
parent 110b8d9557
commit a2cbca7ae1
1 changed files with 1 additions and 1 deletions

View File

@ -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"