aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-05-09 12:43:04 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-05-09 12:43:04 +0000
commit50dbed95fb7c0a97135b771385160ca26c377a15 (patch)
tree904b4718eaa2d1ba58e0615f4430ff6e050da5f0
parentb89e2027d9cff6ca660f3230e680e41f061b148a (diff)
downloadbusybox-w32-50dbed95fb7c0a97135b771385160ca26c377a15.tar.gz
busybox-w32-50dbed95fb7c0a97135b771385160ca26c377a15.tar.bz2
busybox-w32-50dbed95fb7c0a97135b771385160ca26c377a15.zip
- pass flags to ld in one argument
-rwxr-xr-xscripts/trylink10
1 files changed, 5 insertions, 5 deletions
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
169 -Wl,--start-group $O_FILES $A_FILES -Wl,--end-group \ 169 -Wl,--start-group $O_FILES $A_FILES -Wl,--end-group \
170 $l_list \ 170 $l_list \
171 -Wl,--warn-common \ 171 -Wl,--warn-common \
172 -Wl,-Map -Wl,$EXE.map \ 172 -Wl,-Map,$EXE.map \
173 -Wl,--verbose \ 173 -Wl,--verbose \
174 || { 174 || {
175 cat $EXE.out 175 cat $EXE.out
@@ -188,11 +188,11 @@ else
188 -Wl,--sort-common \ 188 -Wl,--sort-common \
189 $SORT_SECTION \ 189 $SORT_SECTION \
190 $GC_SECTIONS \ 190 $GC_SECTIONS \
191 -Wl,-T -Wl,busybox_ldscript \ 191 -Wl,-T,busybox_ldscript \
192 -Wl,--start-group $O_FILES $A_FILES -Wl,--end-group \ 192 -Wl,--start-group $O_FILES $A_FILES -Wl,--end-group \
193 $l_list \ 193 $l_list \
194 -Wl,--warn-common \ 194 -Wl,--warn-common \
195 -Wl,-Map -Wl,$EXE.map \ 195 -Wl,-Map,$EXE.map \
196 -Wl,--verbose \ 196 -Wl,--verbose \
197 || { 197 || {
198 cat $EXE.out 198 cat $EXE.out
@@ -225,7 +225,7 @@ if test "$CONFIG_BUILD_LIBBUSYBOX" = y; then
225 -Wl,--start-group $A_FILES -Wl,--end-group \ 225 -Wl,--start-group $A_FILES -Wl,--end-group \
226 $l_list \ 226 $l_list \
227 -Wl,--warn-common \ 227 -Wl,--warn-common \
228 -Wl,-Map -Wl,$EXE.map \ 228 -Wl,-Map,$EXE.map \
229 -Wl,--verbose \ 229 -Wl,--verbose \
230 || { 230 || {
231 echo "Linking $EXE failed" 231 echo "Linking $EXE failed"
@@ -247,7 +247,7 @@ if test "$CONFIG_FEATURE_SHARED_BUSYBOX" = y; then
247 -Wl,--start-group $O_FILES -Wl,--end-group \ 247 -Wl,--start-group $O_FILES -Wl,--end-group \
248 -L"$sharedlib_dir" -lbusybox \ 248 -L"$sharedlib_dir" -lbusybox \
249 -Wl,--warn-common \ 249 -Wl,--warn-common \
250 -Wl,-Map -Wl,$EXE.map \ 250 -Wl,-Map,$EXE.map \
251 -Wl,--verbose \ 251 -Wl,--verbose \
252 || { 252 || {
253 echo "Linking $EXE failed" 253 echo "Linking $EXE failed"