newlib: specify build and host to configure
This commit is contained in:
parent
9d09c4d45e
commit
729aef71c2
|
@ -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 &&
|
||||
|
|
Loading…
Reference in New Issue