Skip to content
Permalink
Browse files

target/toolchain: sync with openwrt, 2019.09

  • Loading branch information...
The-BB committed Sep 20, 2019
1 parent bcf0713 commit 27bea6b625489c8c21cff90f4371bb53bb08485a
Showing with 1 addition and 9 deletions.
  1. +1 −9 target/toolchain/files/wrapper.sh
@@ -56,15 +56,7 @@ fi
# --dynamic-linker=$TOOLCHAIN_SYSROOT/lib/ld-uClibc.so.0

case $TOOLCHAIN_PLATFORM in
gnu|glibc|eglibc)
GCC_SYSROOT_FLAGS="--sysroot=$TOOLCHAIN_SYSROOT -Wl,-rpath=$TOOLCHAIN_SYSROOT/lib:$TOOLCHAIN_SYSROOT/usr/lib"
LD_SYSROOT_FLAGS="-rpath=$TOOLCHAIN_SYSROOT/lib:$TOOLCHAIN_SYSROOT/usr/lib"
;;
uclibc)
GCC_SYSROOT_FLAGS="--sysroot=$TOOLCHAIN_SYSROOT -Wl,-rpath=$TOOLCHAIN_SYSROOT/lib:$TOOLCHAIN_SYSROOT/usr/lib"
LD_SYSROOT_FLAGS="-rpath=$TOOLCHAIN_SYSROOT/lib:$TOOLCHAIN_SYSROOT/usr/lib"
;;
musl)
gnu|glibc|uclibc|musl)
GCC_SYSROOT_FLAGS="--sysroot=$TOOLCHAIN_SYSROOT -Wl,-rpath=$TOOLCHAIN_SYSROOT/lib:$TOOLCHAIN_SYSROOT/usr/lib"
LD_SYSROOT_FLAGS="-rpath=$TOOLCHAIN_SYSROOT/lib:$TOOLCHAIN_SYSROOT/usr/lib"
;;

0 comments on commit 27bea6b

Please sign in to comment.
You can’t perform that action at this time.