mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-28 04:33:05 +00:00
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
This commit is contained in:
parent
f66a094cac
commit
806103de15
2
autoconf/m4/libtool.m4
vendored
2
autoconf/m4/libtool.m4
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user