[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH-1.5] Darwin reload commands
From: |
Peter O'Gorman |
Subject: |
[PATCH-1.5] Darwin reload commands |
Date: |
Wed, 07 Jul 2004 22:33:30 +0900 |
User-agent: |
Mozilla Thunderbird 0.6 (Macintosh/20040502) |
Make 1.5 the same as head wrt reload commands.
Okay to apply?
Peter
--
Peter O'Gorman - http://www.pogma.com
Index: ChangeLog
* libtool.m4 [darwin](AC_PROG_LD_RELOAD_FLAG): Use $CC -nostdlib -r
on darwin so that ld will not thin fat files.
from Noah Misch <address@hidden>
Index: libtool.m4
===================================================================
RCS file: /cvsroot/libtool/libtool/Attic/libtool.m4,v
retrieving revision 1.314.2.35
diff -u -3 -p -u -r1.314.2.35 libtool.m4
--- libtool.m4 16 Jun 2004 15:54:37 -0000 1.314.2.35
+++ libtool.m4 7 Jul 2004 13:31:32 -0000
@@ -2076,6 +2076,15 @@ case $reload_flag in
"" | " "*) ;;
*) reload_flag=" $reload_flag" ;;
esac
+case $host_os in
+ darwin*)
+ if test "$GCC" = yes; then
+ reload_cmds='$CC -nostdlib ${wl}-r -o $output$reload_objs'
+ else
+ reload_cmds='$LD$reload_flag -o $output$reload_objs'
+ fi
+ ;;
+esac
reload_cmds='$LD$reload_flag -o $output$reload_objs'
])# AC_PROG_LD_RELOAD_FLAG
- [PATCH-1.5] Darwin reload commands,
Peter O'Gorman <=