From 7d31e66602c8029727d9082b18a690dfd7d07602 Mon Sep 17 00:00:00 2001 From: Christopher Larson Date: Wed, 3 Sep 2014 10:50:31 -0700 Subject: boot-format: obey CFLAGS, LDFLAGS Signed-off-by: Christopher Larson --- recipes-bsp/boot-format/boot-format/flags.patch | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 recipes-bsp/boot-format/boot-format/flags.patch (limited to 'recipes-bsp/boot-format/boot-format') diff --git a/recipes-bsp/boot-format/boot-format/flags.patch b/recipes-bsp/boot-format/boot-format/flags.patch new file mode 100644 index 0000000..cddb34c --- /dev/null +++ b/recipes-bsp/boot-format/boot-format/flags.patch @@ -0,0 +1,21 @@ +Index: git/Makefile +=================================================================== +--- git.orig/Makefile ++++ git/Makefile +@@ -3,14 +3,14 @@ + INSTALL=install + PREFIX=/usr + +-CFLAGS=-Wall ++override CFLAGS+=-Wall + + all: boot_format + + boot_format.o: boot_format.c boot_format.h + + boot_format: boot_format.o +- $(CC) $< -o $@ ++ $(CC) $(CFLAGS) $< -o $@ $(LDFLAGS) + + install: boot_format + $(INSTALL) -d $(DESTDIR)$(PREFIX)/bin -- cgit v1.2.3-54-g00ecf