From cfcc935fa2f110fdf4824c67d3cd67f34d91f7a8 Mon Sep 17 00:00:00 2001 From: florian Date: Fri, 23 Nov 2012 20:02:29 +0000 Subject: [buildroot] 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34314 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- 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 19e1863c2..2b760840d 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