diff options
-rw-r--r-- | lang/gcc40/Makefile | 4 | ||||
-rw-r--r-- | lang/gcc40/files/patch-config-freebsd-spec.h | 15 |
2 files changed, 15 insertions, 4 deletions
diff --git a/lang/gcc40/Makefile b/lang/gcc40/Makefile index d2d81a2d7720..a43ea1f0d4ba 100644 --- a/lang/gcc40/Makefile +++ b/lang/gcc40/Makefile @@ -44,10 +44,6 @@ NOMANCOMPRESS= yes # too hard to deal with differences on 5-cur and releng4 .include <bsd.port.pre.mk> -.if ${ARCH} == "sparc64" -BROKEN= "Bootstrap fails with SPARC-specific error. Reported upstream as http://gcc.gnu.org/PR20633" -.endif - .if ${ARCH} == "amd64" CONFIGURE_TARGET= x86_64-portbld-freebsd${OSREL} .else diff --git a/lang/gcc40/files/patch-config-freebsd-spec.h b/lang/gcc40/files/patch-config-freebsd-spec.h new file mode 100644 index 000000000000..7949c47c81ca --- /dev/null +++ b/lang/gcc40/files/patch-config-freebsd-spec.h @@ -0,0 +1,15 @@ +Index: gcc/config/freebsd-spec.h +=================================================================== +RCS file: /cvs/gcc/gcc/gcc/config/freebsd-spec.h,v +retrieving revision 1.13 +diff -u -3 -p -r1.13 freebsd-spec.h +--- gcc/config/freebsd-spec.h 23 Jan 2005 15:05:37 -0000 1.13 ++++ gcc/config/freebsd-spec.h 27 Apr 2005 17:37:38 -0000 +@@ -78,6 +78,7 @@ Boston, MA 02111-1307, USA. */ + + #define FBSD_CPP_SPEC " \ + %(cpp_cpu) \ ++ %(cpp_arch) \ + %{fPIC|fpic|fPIE|fpie:-D__PIC__ -D__pic__} \ + %{posix:-D_POSIX_SOURCE}" + |