[110480] trunk/dports/lang

jeremyhu at macports.org jeremyhu at macports.org
Sat Aug 31 08:44:08 PDT 2013


Revision: 110480
          https://trac.macports.org/changeset/110480
Author:   jeremyhu at macports.org
Date:     2013-08-31 08:44:08 -0700 (Sat, 31 Aug 2013)
Log Message:
-----------
gcc*: Strip -stdlib=libc++ and -stdlib=libstdc++ from configure.cxxflags if present

Modified Paths:
--------------
    trunk/dports/lang/gcc43/Portfile
    trunk/dports/lang/gcc44/Portfile
    trunk/dports/lang/gcc45/Portfile
    trunk/dports/lang/gcc46/Portfile
    trunk/dports/lang/gcc47/Portfile
    trunk/dports/lang/gcc48/Portfile
    trunk/dports/lang/gcc49/Portfile

Modified: trunk/dports/lang/gcc43/Portfile
===================================================================
--- trunk/dports/lang/gcc43/Portfile	2013-08-31 15:33:20 UTC (rev 110479)
+++ trunk/dports/lang/gcc43/Portfile	2013-08-31 15:44:08 UTC (rev 110480)
@@ -116,6 +116,10 @@
 
 # http://trac.macports.org/ticket/29104
 compiler.blacklist-append {llvm-gcc-4.2 < 2336.1}
+ 
+# These would be passed on to the bootstrap compiler if present, so just strip them
+configure.cxxflags-delete -stdlib=libc++
+configure.cxxflags-delete -stdlib=libstdc++
 
 # STAGE1_CFLAGS="-O2 -fkeep-inline-functions" : from configure.ac
 # BOOT_CFLAGS="-O2 -g" : from Makefile.tpl

Modified: trunk/dports/lang/gcc44/Portfile
===================================================================
--- trunk/dports/lang/gcc44/Portfile	2013-08-31 15:33:20 UTC (rev 110479)
+++ trunk/dports/lang/gcc44/Portfile	2013-08-31 15:44:08 UTC (rev 110480)
@@ -117,6 +117,10 @@
 
 # http://trac.macports.org/ticket/29104
 compiler.blacklist-append {llvm-gcc-4.2 < 2336.1}
+ 
+# These would be passed on to the bootstrap compiler if present, so just strip them
+configure.cxxflags-delete -stdlib=libc++
+configure.cxxflags-delete -stdlib=libstdc++
 
 # STAGE1_CFLAGS="-O2 -fkeep-inline-functions" : from configure.ac
 # BOOT_CFLAGS="-O2 -g" : from Makefile.tpl

Modified: trunk/dports/lang/gcc45/Portfile
===================================================================
--- trunk/dports/lang/gcc45/Portfile	2013-08-31 15:33:20 UTC (rev 110479)
+++ trunk/dports/lang/gcc45/Portfile	2013-08-31 15:44:08 UTC (rev 110480)
@@ -138,6 +138,10 @@
     configure.args-append --enable-lto
 }
 
+# These would be passed on to the bootstrap compiler if present, so just strip them
+configure.cxxflags-delete -stdlib=libc++
+configure.cxxflags-delete -stdlib=libstdc++
+
 build.dir           ${configure.dir}
 build.target        bootstrap
 use_parallel_build  yes

Modified: trunk/dports/lang/gcc46/Portfile
===================================================================
--- trunk/dports/lang/gcc46/Portfile	2013-08-31 15:33:20 UTC (rev 110479)
+++ trunk/dports/lang/gcc46/Portfile	2013-08-31 15:44:08 UTC (rev 110480)
@@ -122,6 +122,10 @@
 # http://trac.macports.org/ticket/29104
 compiler.blacklist-append {llvm-gcc-4.2 < 2336.1}
 
+# These would be passed on to the bootstrap compiler if present, so just strip them
+configure.cxxflags-delete -stdlib=libc++
+configure.cxxflags-delete -stdlib=libstdc++
+
 build.dir           ${configure.dir}
 build.target        bootstrap
 use_parallel_build  yes

Modified: trunk/dports/lang/gcc47/Portfile
===================================================================
--- trunk/dports/lang/gcc47/Portfile	2013-08-31 15:33:20 UTC (rev 110479)
+++ trunk/dports/lang/gcc47/Portfile	2013-08-31 15:44:08 UTC (rev 110480)
@@ -121,6 +121,10 @@
 # http://trac.macports.org/ticket/29104
 compiler.blacklist-append {llvm-gcc-4.2 < 2336.1}
 
+# These would be passed on to the bootstrap compiler if present, so just strip them
+configure.cxxflags-delete -stdlib=libc++
+configure.cxxflags-delete -stdlib=libstdc++
+
 build.dir           ${configure.dir}
 build.target        bootstrap
 use_parallel_build  yes

Modified: trunk/dports/lang/gcc48/Portfile
===================================================================
--- trunk/dports/lang/gcc48/Portfile	2013-08-31 15:33:20 UTC (rev 110479)
+++ trunk/dports/lang/gcc48/Portfile	2013-08-31 15:44:08 UTC (rev 110480)
@@ -97,6 +97,10 @@
 # http://trac.macports.org/ticket/29104
 compiler.blacklist-append {llvm-gcc-4.2 < 2336.1}
 
+# These would be passed on to the bootstrap compiler if present, so just strip them
+configure.cxxflags-delete -stdlib=libc++
+configure.cxxflags-delete -stdlib=libstdc++
+
 build.dir           ${configure.dir}
 build.target        bootstrap
 use_parallel_build  yes

Modified: trunk/dports/lang/gcc49/Portfile
===================================================================
--- trunk/dports/lang/gcc49/Portfile	2013-08-31 15:33:20 UTC (rev 110479)
+++ trunk/dports/lang/gcc49/Portfile	2013-08-31 15:44:08 UTC (rev 110480)
@@ -98,6 +98,10 @@
 # http://trac.macports.org/ticket/29104
 compiler.blacklist-append {llvm-gcc-4.2 < 2336.1}
 
+# These would be passed on to the bootstrap compiler if present, so just strip them
+configure.cxxflags-delete -stdlib=libc++
+configure.cxxflags-delete -stdlib=libstdc++
+
 build.dir           ${configure.dir}
 build.target        bootstrap
 use_parallel_build  yes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130831/4cae4d2f/attachment.html>


More information about the macports-changes mailing list