package/index: filter out the libc package from the index
[openwrt/svn-archive/archive.git] / scripts / ext-toolchain.sh
index a34ef0677335cc9e5a3bd52e011444fff9754292..d1e163fd68973032ccd1e9b3e4e7ed95bdf0dbab 100755 (executable)
@@ -221,7 +221,7 @@ wrap_bin_ld() {
        local bin="$2"
 
        echo    '#!/bin/sh'                                                > "$out"
-       echo -n 'exec "'"$bin"'" '"$CFLAGS"' ${STAGING_DIR:+'             >> "$out"
+       echo -n 'exec "'"$bin"'" ${STAGING_DIR:+'                         >> "$out"
        echo -n '-L "$STAGING_DIR/usr/lib" '                              >> "$out"
        echo    '-rpath-link "$STAGING_DIR/usr/lib"} "$@"'                >> "$out"