libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

accept -isysroot


From: Peter O'Gorman
Subject: accept -isysroot
Date: Fri, 25 Nov 2005 00:32:33 +0900
User-agent: Mozilla Thunderbird 1.0.2 (Macintosh/20050317)

Hi,
Libtool should accept -isysroot to help people build fat projects on Mac OS X.

Okay?

Peter
Index: ChangeLog
2005-11-24  Peter O'Gorman  <address@hidden>

        * ltmain.in (link mode): Pass through -isysroot for cross
        architecture builds on darwin.

from  Ralf Wildenhues <address@hidden>
Index: ltmain.in
===================================================================
RCS file: /cvsroot/libtool/libtool/Attic/ltmain.in,v
retrieving revision 1.334.2.97
diff -u -3 -p -u -r1.334.2.97 ltmain.in
--- ltmain.in 20 Nov 2005 14:09:00 -0000 1.334.2.97
+++ ltmain.in 24 Nov 2005 15:31:48 -0000
@@ -1419,7 +1419,7 @@ EOF
        continue
        ;;
 
-      -framework|-arch)
+      -framework|-arch|-isysroot)
         prev=darwin_framework
         compiler_flags="$compiler_flags $arg"
        compile_command="$compile_command $arg"
Index: ChangeLog
2005-11-24  Peter O'Gorman  <address@hidden>

        * libltdl/config/ltmain.m4sh (link mode): Pass through -isysroot
        for cross architecture builds on darwin.

from  Ralf Wildenhues <address@hidden>
Index: libltdl/config/ltmain.m4sh
===================================================================
RCS file: /cvsroot/libtool/libtool/libltdl/config/ltmain.m4sh,v
retrieving revision 1.18
diff -u -3 -p -u -r1.18 ltmain.m4sh
--- libltdl/config/ltmain.m4sh 10 Nov 2005 18:32:44 -0000 1.18
+++ libltdl/config/ltmain.m4sh 24 Nov 2005 15:31:28 -0000
@@ -2643,7 +2643,7 @@ func_mode_link ()
       # Tru64 UNIX uses -model [arg] to determine the layout of C++
       # classes, name mangling, and exception handling.
       # Darwin uses the -arch flag to determine output architecture.
-      -model|-arch)
+      -model|-arch|-isysroot)
        compile_command="$compile_command $arg"
        compiler_flags="$compiler_flags $arg"
        finalize_command="$finalize_command $arg"

reply via email to

[Prev in Thread] Current Thread [Next in Thread]