[Toybox] [PATCH] toybox_build: add Missing CFLAGS

Alejandro Joya alejandro.joya.cruz at intel.com
Thu Feb 4 09:45:34 PST 2016


add CFLAGS to multiple builds to forward libraries location in Yocto.

Signed-off-by: Alejandro Joya <alejandro.joya.cruz at intel.com>
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 5422efe..2dca3ae 100644
--- a/Makefile
+++ b/Makefile
@@ -37,7 +37,7 @@ bloatcheck: toybox_old toybox_unstripped
 
 generated/instlist: toybox_stuff
 	NOBUILD=1 scripts/make.sh
-	$(HOSTCC) -I . scripts/install.c -o generated/instlist
+	$(HOSTCC) -I . $(CFLAGS) scripts/install.c -o generated/instlist
 
 install_flat: generated/instlist
 	scripts/install.sh --symlink --force
-- 
1.9.1


 1454607934.0


More information about the Toybox mailing list