[elbe-devel] [PATCH v2 10/15] makofiles environment-setup-elbe: use proper triple for --build

Torben Hohn torben.hohn at linutronix.de
Thu May 16 09:05:31 CEST 2019


--build needs to be specified, when cross compilation mode is wanted.
Add the missing -gnu to complete the triple.

Signed-off-by: Torben Hohn <torben.hohn at linutronix.de>
---
 elbepack/makofiles/environment-setup-elbe.mako | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/elbepack/makofiles/environment-setup-elbe.mako b/elbepack/makofiles/environment-setup-elbe.mako
index 48b61693e..597041a47 100644
--- a/elbepack/makofiles/environment-setup-elbe.mako
+++ b/elbepack/makofiles/environment-setup-elbe.mako
@@ -69,7 +69,7 @@ export AR=${real_multimach_target_sys}-ar
 export NM=${real_multimach_target_sys}-nm
 export M4=m4
 export TARGET_PREFIX=${real_multimach_target_sys}-
-export CONFIGURE_FLAGS="--host=${real_multimach_target_sys} --build=${sdk_arch}-linux --with-libtool-sysroot=$SDKTARGETSYSROOT"
+export CONFIGURE_FLAGS="--host=${real_multimach_target_sys} --build=${sdk_arch}-linux-gnu --with-libtool-sysroot=$SDKTARGETSYSROOT"
 export CFLAGS=" -O2 -pipe -g -feliminate-unused-debug-types "
 export CXXFLAGS=" -O2 -pipe -g -feliminate-unused-debug-types "
 export LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed"
-- 
2.11.0




More information about the elbe-devel mailing list