X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fopenwrt.git;a=blobdiff_plain;f=scripts%2Fext-toolchain.sh;fp=scripts%2Fext-toolchain.sh;h=3ebaa214879e248facf5b69ac75497b51580a5f5;hp=d1e163fd68973032ccd1e9b3e4e7ed95bdf0dbab;hb=9622f68581cea9d607bbd641b89350c2420720d5;hpb=330ae61b1b8e136b268d2a9316e434a6ca842979 diff --git a/scripts/ext-toolchain.sh b/scripts/ext-toolchain.sh index d1e163fd68..3ebaa21487 100755 --- a/scripts/ext-toolchain.sh +++ b/scripts/ext-toolchain.sh @@ -356,6 +356,10 @@ print_config() { echo "CONFIG_TOOLCHAIN_PREFIX=\"$prefix\"" >> "$config" echo "CONFIG_TARGET_NAME=\"$target\"" >> "$config" + if [ "$LIBC_TYPE" != glibc ]; then + echo "CONFIG_TOOLCHAIN_LIBC=\"$LIBC_TYPE\"" >> "$config" + fi + local lib for lib in C RT PTHREAD GCC STDCPP SSP GFORTRAN; do local file