diff options
author | Chris Lattner <sabre@nondot.org> | 2006-04-19 18:34:41 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-04-19 18:34:41 +0000 |
commit | 806103de1589b6ec78ca849fa32528c8fab0f1c2 (patch) | |
tree | ae521f823ddbe3e4de76b3f00c43f8a5f6a884b5 /autoconf/m4 | |
parent | f66a094cac4f701640e467577e488c44ff9e89eb (diff) | |
download | external_llvm-806103de1589b6ec78ca849fa32528c8fab0f1c2.zip external_llvm-806103de1589b6ec78ca849fa32528c8fab0f1c2.tar.gz external_llvm-806103de1589b6ec78ca849fa32528c8fab0f1c2.tar.bz2 |
When on darwin, compiler_flags need to be percolated down to the 'gcc -r'
command line so that relinked .o files can be built universal.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27837 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'autoconf/m4')
-rw-r--r-- | autoconf/m4/libtool.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/autoconf/m4/libtool.m4 b/autoconf/m4/libtool.m4 index dfb6e0f..f4260d0 100644 --- a/autoconf/m4/libtool.m4 +++ b/autoconf/m4/libtool.m4 @@ -2099,7 +2099,7 @@ reload_cmds='$LD$reload_flag -o $output$reload_objs' case $host_os in darwin*) if test "$GCC" = yes; then - reload_cmds='$CC -nostdlib ${wl}-r -o $output$reload_objs' + reload_cmds='$CC -nostdlib ${wl}-r $compiler_flags -o $output$reload_objs' else reload_cmds='$LD$reload_flag -o $output$reload_objs' fi |