Revision
89719
Author
jmr@macports.org
Date
2012-02-07 16:06:40 -0800 (Tue, 07 Feb 2012)

Log Message

gcc ports: set CPP in buld.env to prevent failure with +universal (#33151)

Modified Paths

Diff

Modified: trunk/dports/lang/gcc43/Portfile (89718 => 89719)


--- trunk/dports/lang/gcc43/Portfile	2012-02-07 22:45:35 UTC (rev 89718)
+++ trunk/dports/lang/gcc43/Portfile	2012-02-08 00:06:40 UTC (rev 89719)
@@ -166,6 +166,7 @@
     configure.args-delete --disable-multilib
 }
 # the generated compiler doesn't accept -arch
+build.env-append CPP="${configure.cc} -E"
 configure.cc-append [get_canonical_archflags]
 configure.cc_archflags
 configure.cxx_archflags

Modified: trunk/dports/lang/gcc44/Portfile (89718 => 89719)


--- trunk/dports/lang/gcc44/Portfile	2012-02-07 22:45:35 UTC (rev 89718)
+++ trunk/dports/lang/gcc44/Portfile	2012-02-08 00:06:40 UTC (rev 89719)
@@ -159,6 +159,7 @@
     configure.args-delete --disable-multilib
 }
 # the generated compiler doesn't accept -arch
+build.env-append CPP="${configure.cc} -E"
 configure.cc-append [get_canonical_archflags]
 configure.cc_archflags
 configure.cxx_archflags

Modified: trunk/dports/lang/gcc45/Portfile (89718 => 89719)


--- trunk/dports/lang/gcc45/Portfile	2012-02-07 22:45:35 UTC (rev 89718)
+++ trunk/dports/lang/gcc45/Portfile	2012-02-08 00:06:40 UTC (rev 89719)
@@ -157,6 +157,7 @@
     configure.args-delete --disable-multilib
 }
 # the generated compiler doesn't accept -arch
+build.env-append CPP="${configure.cc} -E"
 configure.cc-append [get_canonical_archflags]
 configure.cc_archflags
 configure.cxx_archflags

Modified: trunk/dports/lang/gcc46/Portfile (89718 => 89719)


--- trunk/dports/lang/gcc46/Portfile	2012-02-07 22:45:35 UTC (rev 89718)
+++ trunk/dports/lang/gcc46/Portfile	2012-02-08 00:06:40 UTC (rev 89719)
@@ -127,6 +127,7 @@
     configure.args-delete --disable-multilib
 }
 # the generated compiler doesn't accept -arch
+build.env-append CPP="${configure.cc} -E"
 configure.cc-append [get_canonical_archflags]
 configure.cc_archflags
 configure.cxx_archflags

Modified: trunk/dports/lang/gcc47/Portfile (89718 => 89719)


--- trunk/dports/lang/gcc47/Portfile	2012-02-07 22:45:35 UTC (rev 89718)
+++ trunk/dports/lang/gcc47/Portfile	2012-02-08 00:06:40 UTC (rev 89719)
@@ -125,6 +125,7 @@
     configure.args-delete --disable-multilib
 }
 # the generated compiler doesn't accept -arch
+build.env-append CPP="${configure.cc} -E"
 configure.cc-append [get_canonical_archflags]
 configure.cc_archflags
 configure.cxx_archflags