diff options
author | Florian Fainelli <florian@openwrt.org> | 2012-11-23 20:02:29 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2012-11-23 20:02:29 +0000 |
commit | 6b63716262b89bec53402817876116898936d5f4 (patch) | |
tree | 1d792a9083d34dc6e40620b3c5802e9168a461e0 /target/toolchain/files/wrapper.sh | |
parent | 14ed3f0f22f34b337bb58b2a5fd09e887df3331f (diff) | |
download | upstream-6b63716262b89bec53402817876116898936d5f4.tar.gz upstream-6b63716262b89bec53402817876116898936d5f4.tar.bz2 upstream-6b63716262b89bec53402817876116898936d5f4.zip |
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 <florian@openwrt.org>
SVN-Revision: 34314
Diffstat (limited to 'target/toolchain/files/wrapper.sh')
-rwxr-xr-x | target/toolchain/files/wrapper.sh | 4 |
1 files changed, 4 insertions, 0 deletions
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="" |