[69769] trunk/dports/lang/gcc42/Portfile

jmr at macports.org jmr at macports.org
Thu Jul 15 17:18:06 PDT 2010


Revision: 69769
          http://trac.macports.org/changeset/69769
Author:   jmr at macports.org
Date:     2010-07-15 17:18:05 -0700 (Thu, 15 Jul 2010)
Log Message:
-----------
gcc42: clear ld_archflags too

Modified Paths:
--------------
    trunk/dports/lang/gcc42/Portfile

Modified: trunk/dports/lang/gcc42/Portfile
===================================================================
--- trunk/dports/lang/gcc42/Portfile	2010-07-15 23:08:19 UTC (rev 69768)
+++ trunk/dports/lang/gcc42/Portfile	2010-07-16 00:18:05 UTC (rev 69769)
@@ -52,10 +52,11 @@
 }
 
 # the generated compiler doesn't accept -arch
-if {[info exists build_arch] && ${os.platform} == "darwin"} {
-    configure.cc_archflags
-    configure.cxx_archflags
-    configure.objc_archflags
+configure.cc_archflags
+configure.cxx_archflags
+configure.objc_archflags
+configure.ld_archflags
+platform darwin {
     configure.pre_args-append --build=${build_arch}-apple-darwin${os.major} --host=${build_arch}-apple-darwin${os.major}
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100715/6c619173/attachment-0001.html>


More information about the macports-changes mailing list