diff options
author | gerald <gerald@FreeBSD.org> | 2005-05-01 04:14:19 +0800 |
---|---|---|
committer | gerald <gerald@FreeBSD.org> | 2005-05-01 04:14:19 +0800 |
commit | 9dc51d5cc723d703fe9b79212427c4b5c27c007b (patch) | |
tree | 7c95fe7e1493f25ff48a181aac56e59804b76474 /lang | |
parent | 4b39c0e6966cd15c91e770d4705e2c2e85babf05 (diff) | |
download | freebsd-ports-gnome-9dc51d5cc723d703fe9b79212427c4b5c27c007b.tar.gz freebsd-ports-gnome-9dc51d5cc723d703fe9b79212427c4b5c27c007b.tar.zst freebsd-ports-gnome-9dc51d5cc723d703fe9b79212427c4b5c27c007b.zip |
Unbreak sparc64.
Submitted by: Eric Botcazou (via upstream Bugzilla)
Diffstat (limited to 'lang')
-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}" + |