Respect CFLAGS and LDFLAGS when building generator

This commit is contained in:
Sijmen J. Mulder 2022-11-25 16:38:37 +01:00
parent 1de825b5bb
commit 2fc9d518d1

View file

@ -216,7 +216,7 @@ norl: $(BIN)
nolc: $(BIN)
src/$(ICONS_INCLUDE): src/icons-hash.c src/icons.h src/icons-in-terminal.h
$(CC) $(CPPFLAGS) -DICONS_GENERATE -o src/icons-hash-gen src/icons-hash.c
$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -DICONS_GENERATE -o src/icons-hash-gen src/icons-hash.c
./src/icons-hash-gen > $@
install-desktop: $(DESKTOPFILE)