From 729aef71c2c5f54319ab73b454dcc7840008ca59 Mon Sep 17 00:00:00 2001 From: Giacomo Tesio Date: Sat, 22 Apr 2017 14:26:51 +0200 Subject: [PATCH] newlib: specify build and host to configure --- cross/pkgs/newlib.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cross/pkgs/newlib.sh b/cross/pkgs/newlib.sh index 6c91e2c..5edf29f 100755 --- a/cross/pkgs/newlib.sh +++ b/cross/pkgs/newlib.sh @@ -58,7 +58,7 @@ export CFLAGS_FOR_TARGET="-g -gdwarf-2 -ggdb -O$NEWLIB_OPTIMIZATION" mkdir $NEWLIB_BUILD && mkdir $NEWLIB_PREFIX && cd $NEWLIB_BUILD && - $NEWLIB_SRC/configure --prefix=$NEWLIB_PREFIX --target=x86_64-jehanne && + $NEWLIB_SRC/configure --prefix=$NEWLIB_PREFIX --build=x86_64-pc-linux-gnu --host=x86_64-jehanne --target=x86_64-jehanne && make all && make install && rm -fr $JEHANNE/sys/posix/newlib && rm -fr $JEHANNE/arch/amd64/lib/newlib &&