Revision
110480
Author
jeremyhu@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

Diff

Modified: trunk/dports/lang/gcc43/Portfile (110479 => 110480)


--- 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 (110479 => 110480)


--- 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 (110479 => 110480)


--- 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 (110479 => 110480)


--- 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 (110479 => 110480)


--- 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 (110479 => 110480)


--- 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 (110479 => 110480)


--- 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