diff options
author | Bernhard Reutner-Fischer | 2008-05-09 12:43:04 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer | 2008-05-09 12:43:04 +0000 |
commit | 50dbed95fb7c0a97135b771385160ca26c377a15 (patch) | |
tree | 904b4718eaa2d1ba58e0615f4430ff6e050da5f0 /scripts/trylink | |
parent | b89e2027d9cff6ca660f3230e680e41f061b148a (diff) | |
download | busybox-50dbed95fb7c0a97135b771385160ca26c377a15.zip busybox-50dbed95fb7c0a97135b771385160ca26c377a15.tar.gz |
- pass flags to ld in one argument
Diffstat (limited to 'scripts/trylink')
-rwxr-xr-x | scripts/trylink | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/trylink b/scripts/trylink index 9efd208..c24d49d 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" |