[PATCH] Use CFLAGS for compiling bin2hex
Bernhard Walle
bwalle at suse.de
Mon Jul 14 10:33:32 EDT 2008
This is a minor correction in the Makefile to use the CFLAGS (from configure)
also for bin2hex.
Signed-off-by: Bernhard Walle <bwalle at suse.de>
---
util/Makefile | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/util/Makefile b/util/Makefile
index 11d82fd..a1a78ac 100644
--- a/util/Makefile
+++ b/util/Makefile
@@ -2,10 +2,10 @@ BIN_TO_HEX:= bin/bin-to-hex
$(BIN_TO_HEX): $(srcdir)/util/bin-to-hex.c
@$(MKDIR) -p $(@D)
- $(LINK.o) -o $@ $^
+ $(LINK.o) $(CFLAGS) -o $@ $^
$(BIN_TO_HEX): CC=$(BUILD_CC)
-$(BIN_TO_HEX): CFLAGS=$(BUILD_CFLAGS)
+$(BIN_TO_HEX): CFLAGS+=$(BUILD_CFLAGS)
$(BIN_TO_HEX): LDFLAGS=
dist += util/Makefile util/bin-to-hex.c
--
1.5.6
More information about the kexec
mailing list