mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
gcc-final:
- fix lib search path
This commit is contained in:
parent
91bb40d2f5
commit
e7cdda8b6e
@ -16,12 +16,12 @@ setup_toolchain host
|
|||||||
cd $BUILD/gcc*
|
cd $BUILD/gcc*
|
||||||
mkdir -p objdir-$1
|
mkdir -p objdir-$1
|
||||||
cd objdir-$1
|
cd objdir-$1
|
||||||
|
LDFLAGS="-Wl,-rpath,$ROOT/$TOOLCHAIN/lib" \
|
||||||
../configure --host=$HOST_NAME \
|
../configure --host=$HOST_NAME \
|
||||||
--build=$HOST_NAME \
|
--build=$HOST_NAME \
|
||||||
--target=$TARGET_NAME \
|
--target=$TARGET_NAME \
|
||||||
--prefix=$ROOT/$TOOLCHAIN \
|
--prefix=$ROOT/$TOOLCHAIN \
|
||||||
--with-sysroot=$SYSROOT_PREFIX \
|
--with-sysroot=$SYSROOT_PREFIX \
|
||||||
--with-local-prefix=${LIB_PREFIX#$SYSROOT_PREFIX} \
|
|
||||||
--with-gmp=$ROOT/$TOOLCHAIN \
|
--with-gmp=$ROOT/$TOOLCHAIN \
|
||||||
--with-mpfr=$ROOT/$TOOLCHAIN \
|
--with-mpfr=$ROOT/$TOOLCHAIN \
|
||||||
--with-ppl=$ROOT/$TOOLCHAIN \
|
--with-ppl=$ROOT/$TOOLCHAIN \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user