diff options
author | Claudio Fontana <claudio.fontana@huawei.com> | 2013-09-25 14:28:24 +0200 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2014-04-25 13:07:15 +0100 |
commit | ee161eb958df4a9127fa92d34bca3ad26b0f6eee (patch) | |
tree | 070f8ad45e93128942013f62a7e3f6effb701f29 /Makefile | |
parent | 9702967a573ce53f824cf7790ce5a9531a791f53 (diff) |
Makefile: pass CFLAGS also to gcc when linking
Useful for sysroot situations.
Signed-off-by: Claudio Fontana <claudio.fontana@linaro.org>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -25,7 +25,7 @@ OBJS=$(SRCS:.c=.o) all: $(PROG) $(BINS) $(PROG): $(OBJS) - $(CC) -o $@ $^ + $(CC) $(CFLAGS) -o $@ $^ %.o: %.c $(HDRS) $(CC) $(CPPFLAGS) $(CFLAGS) -o $@ -c $< |