From 50dbed95fb7c0a97135b771385160ca26c377a15 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Fri, 9 May 2008 12:43:04 +0000 Subject: - pass flags to ld in one argument --- scripts/trylink | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'scripts') diff --git a/scripts/trylink b/scripts/trylink index 9efd208ae..c24d49d52 100755 --- a/scripts/trylink +++ b/scripts/trylink @@ -169,7 +169,7 @@ if ! test -f busybox_ldscript; then -Wl,--start-group $O_FILES $A_FILES -Wl,--end-group \ $l_list \ -Wl,--warn-common \ - -Wl,-Map -Wl,$EXE.map \ + -Wl,-Map,$EXE.map \ -Wl,--verbose \ || { cat $EXE.out @@ -188,11 +188,11 @@ else -Wl,--sort-common \ $SORT_SECTION \ $GC_SECTIONS \ - -Wl,-T -Wl,busybox_ldscript \ + -Wl,-T,busybox_ldscript \ -Wl,--start-group $O_FILES $A_FILES -Wl,--end-group \ $l_list \ -Wl,--warn-common \ - -Wl,-Map -Wl,$EXE.map \ + -Wl,-Map,$EXE.map \ -Wl,--verbose \ || { cat $EXE.out @@ -225,7 +225,7 @@ if test "$CONFIG_BUILD_LIBBUSYBOX" = y; then -Wl,--start-group $A_FILES -Wl,--end-group \ $l_list \ -Wl,--warn-common \ - -Wl,-Map -Wl,$EXE.map \ + -Wl,-Map,$EXE.map \ -Wl,--verbose \ || { echo "Linking $EXE failed" @@ -247,7 +247,7 @@ if test "$CONFIG_FEATURE_SHARED_BUSYBOX" = y; then -Wl,--start-group $O_FILES -Wl,--end-group \ -L"$sharedlib_dir" -lbusybox \ -Wl,--warn-common \ - -Wl,-Map -Wl,$EXE.map \ + -Wl,-Map,$EXE.map \ -Wl,--verbose \ || { echo "Linking $EXE failed" -- cgit v1.2.3