Parcourir la source

ext-toolchain.sh: don't pass CFLAGS when wrapping ld

SVN-Revision: 31549
Jo-Philipp Wich il y a 13 ans
Parent
commit
643babfc3c
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      scripts/ext-toolchain.sh

+ 1 - 1
scripts/ext-toolchain.sh

@@ -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"