From 6b63716262b89bec53402817876116898936d5f4 Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Fri, 23 Nov 2012 20:02:29 +0000 Subject: add preliminary support for musl Musl is an alternative C-library, see http://www.musl-libc.org for more infos. Signed-off-by: Florian Fainelli SVN-Revision: 34314 --- target/toolchain/files/wrapper.sh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'target/toolchain') diff --git a/target/toolchain/files/wrapper.sh b/target/toolchain/files/wrapper.sh index 19e1863c27..2b760840d8 100755 --- a/target/toolchain/files/wrapper.sh +++ b/target/toolchain/files/wrapper.sh @@ -64,6 +64,10 @@ case $TOOLCHAIN_PLATFORM in 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) + 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" + ;; *) GCC_SYSROOT_FLAGS="" LD_SYSROOT_FLAGS="" -- cgit v1.2.3