From 234e0386edf3437bb9a416e95c5989664d316d91 Mon Sep 17 00:00:00 2001 From: gixxpunk Date: Sat, 16 Sep 2017 21:42:13 +0200 Subject: [PATCH] - extend BUILDENV variable --- make/environment.mk | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/make/environment.mk b/make/environment.mk index 20c48f44..e7dee1ef 100644 --- a/make/environment.mk +++ b/make/environment.mk @@ -208,6 +208,16 @@ CONFIGURE_OPTS = \ --build=$(BUILD) --host=$(TARGET) BUILDENV = \ + CC=$(TARGET)-gcc \ + CXX=$(TARGET)-g++ \ + LD=$(TARGET)-ld \ + NM=$(TARGET)-nm \ + AR=$(TARGET)-ar \ + AS=$(TARGET)-as \ + RANLIB=$(TARGET)-ranlib \ + STRIP=$(TARGET)-strip \ + OBJCOPY=$(TARGET)-objcopy \ + OBJDUMP=$(TARGET)-objdump \ CFLAGS="$(TARGET_CFLAGS)" \ CPPFLAGS="$(TARGET_CPPFLAGS)" \ CXXFLAGS="$(TARGET_CXXFLAGS)" \