[llvm-commits] CVS: llvm/autoconf/m4/libtool.m4

Chris Lattner lattner at cs.uiuc.edu
Wed Apr 19 11:34:54 PDT 2006



Changes in directory llvm/autoconf/m4:

libtool.m4 updated: 1.5 -> 1.6
---
Log message:

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.


---
Diffs of the changes:  (+1 -1)

 libtool.m4 |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/autoconf/m4/libtool.m4
diff -u llvm/autoconf/m4/libtool.m4:1.5 llvm/autoconf/m4/libtool.m4:1.6
--- llvm/autoconf/m4/libtool.m4:1.5	Tue Oct 12 19:51:45 2004
+++ llvm/autoconf/m4/libtool.m4	Wed Apr 19 13:34:41 2006
@@ -2099,7 +2099,7 @@
 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






More information about the llvm-commits mailing list