Skip to content

Commit

Permalink
Makefile: honor CFLAGS for bin/conmon
Browse files Browse the repository at this point in the history
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
  • Loading branch information
giuseppe committed May 12, 2020
1 parent 42cb289 commit f2a7cc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ static:
$(MAKE) git-vars bin/conmon PKG_CONFIG='$(PKG_CONFIG) --static' CFLAGS='-static' LDFLAGS='$(LDFLAGS) -s -w -static' LIBS='$(LIBS)'

bin/conmon: $(OBJS) | bin
$(CC) $(LDFLAGS) -o $@ $^ $(LIBS)
$(CC) $(LDFLAGS) $(CFLAGS) -o $@ $^ $(LIBS)

%.o: %.c $(HEADERS)
$(CC) $(CFLAGS) -o $@ -c $<
Expand Down

0 comments on commit f2a7cc8

Please sign in to comment.