diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-06-04 11:28:24 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-06-04 11:28:24 +0000 |
commit | 1da86d2f40f304d78b2ae4aac3b590b19adc7ce3 (patch) | |
tree | 6f2a87934ad24c0e640c6313d56d2e28d1e81185 /scripts/Makefile.build | |
parent | 1e93f3c5859aeebcca7c0480de2bd038defe8b1c (diff) | |
download | busybox-w32-1da86d2f40f304d78b2ae4aac3b590b19adc7ce3.tar.gz busybox-w32-1da86d2f40f304d78b2ae4aac3b590b19adc7ce3.tar.bz2 busybox-w32-1da86d2f40f304d78b2ae4aac3b590b19adc7ce3.zip |
build system: add PIE build option
Diffstat (limited to 'scripts/Makefile.build')
-rw-r--r-- | scripts/Makefile.build | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/Makefile.build b/scripts/Makefile.build index ddefea5a6..f343818b1 100644 --- a/scripts/Makefile.build +++ b/scripts/Makefile.build | |||
@@ -251,8 +251,8 @@ ifdef builtin-target | |||
251 | quiet_cmd_link_o_target = LD $@ | 251 | quiet_cmd_link_o_target = LD $@ |
252 | # If the list of objects to link is empty, just create an empty built-in.o | 252 | # If the list of objects to link is empty, just create an empty built-in.o |
253 | cmd_link_o_target = $(if $(strip $(obj-y)),\ | 253 | cmd_link_o_target = $(if $(strip $(obj-y)),\ |
254 | $(LD) $(ld_flags) -r -o $@ $(filter $(obj-y), $^),\ | 254 | $(LD) $(ld_flags) -r -o $@ $(filter $(obj-y), $^),\ |
255 | rm -f $@; $(AR) rcs $@) | 255 | rm -f $@; $(AR) rcs $@) |
256 | 256 | ||
257 | $(builtin-target): $(obj-y) FORCE | 257 | $(builtin-target): $(obj-y) FORCE |
258 | $(call if_changed,link_o_target) | 258 | $(call if_changed,link_o_target) |