diff options
author | sevan <sevan@pkgsrc.org> | 2015-08-25 12:23:13 +0000 |
---|---|---|
committer | sevan <sevan@pkgsrc.org> | 2015-08-25 12:23:13 +0000 |
commit | 88de618b4576ad12463cd0667be6e5844840077d (patch) | |
tree | 9b7d48f37d4679602e2d0983d856b2a9ef40885d /lang/gcc5 | |
parent | b8a5a34a1d050643450bec0b3673c1942ebbda5d (diff) | |
download | pkgsrc-88de618b4576ad12463cd0667be6e5844840077d.tar.gz |
Unbreak on OS X Tiger
- remove the space between flags and path passed to linker as it's not supported
- force the use of Dwarf2
Diffstat (limited to 'lang/gcc5')
-rw-r--r-- | lang/gcc5/Makefile | 5 | ||||
-rw-r--r-- | lang/gcc5/distinfo | 4 | ||||
-rw-r--r-- | lang/gcc5/patches/patch-gcc_Makefile.in | 4 |
3 files changed, 8 insertions, 5 deletions
diff --git a/lang/gcc5/Makefile b/lang/gcc5/Makefile index faa87e25746..75cf20e55eb 100644 --- a/lang/gcc5/Makefile +++ b/lang/gcc5/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2015/08/22 16:38:10 bsiegert Exp $ +# $NetBSD: Makefile,v 1.4 2015/08/25 12:23:13 sevan Exp $ GCC_PKGNAME= gcc5 .include "version.mk" @@ -107,6 +107,9 @@ CONFIGURE_ARGS+= --with-arch=i486 --with-tune=i486 CONFIGURE_ARGS+= --with-arch=nocona --with-tune=nocona --with-fpmath=sse .endif +.if !empty(MACHINE_PLATFORM:MDarwin-[0-8].*-*) +CONFIGURE_ARGS+= --with-dwarf2 +.endif # ${WRKSRC}/fixincludes/ looks for sed and compiles the path to sed into # a binary so we need to make sure we give it the installed sed and not diff --git a/lang/gcc5/distinfo b/lang/gcc5/distinfo index 65ec65b7ecc..efb244bc4e3 100644 --- a/lang/gcc5/distinfo +++ b/lang/gcc5/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.3 2015/08/06 07:21:29 martin Exp $ +$NetBSD: distinfo,v 1.4 2015/08/25 12:23:13 sevan Exp $ SHA1 (gcc-5.2.0.tar.bz2) = fe3f5390949d47054b613edc36c557eb1d51c18e RMD160 (gcc-5.2.0.tar.bz2) = eaedd62e7a738f6bdc0e97a0c40fbbd75d35925b @@ -6,7 +6,7 @@ Size (gcc-5.2.0.tar.bz2) = 95221552 bytes SHA1 (isl-0.14.tar.bz2) = b09e25df265c97ed54002cd811d227a9a26c5f9c RMD160 (isl-0.14.tar.bz2) = 4c69d026b51561bc1948cb7db79331b78a9d2c39 Size (isl-0.14.tar.bz2) = 1399896 bytes -SHA1 (patch-gcc_Makefile.in) = ce366a091960d335ecb022918e2f7bfc4e3fcccf +SHA1 (patch-gcc_Makefile.in) = b2bceb34537de1cf704f18a59aa4e4d4a4551c62 SHA1 (patch-gcc_config.gcc) = bfa3897de6afa573ee44a60973611c4e9024f497 SHA1 (patch-gcc_config.host) = 1b1e11cd199eb93f49443d51c0063b09b7327858 SHA1 (patch-gcc_config_host-netbsd.c) = 765295f07edb8a68f1910e3a9b4dd2a7dcd491a5 diff --git a/lang/gcc5/patches/patch-gcc_Makefile.in b/lang/gcc5/patches/patch-gcc_Makefile.in index c76a7e4301d..dab7e3668dc 100644 --- a/lang/gcc5/patches/patch-gcc_Makefile.in +++ b/lang/gcc5/patches/patch-gcc_Makefile.in @@ -1,4 +1,4 @@ -$NetBSD: patch-gcc_Makefile.in,v 1.1 2015/07/16 12:03:36 ryoon Exp $ +$NetBSD: patch-gcc_Makefile.in,v 1.2 2015/08/25 12:23:13 sevan Exp $ Add gcc libdir to a programs rpath so that _this gcc's_ support libraries are found. @@ -9,7 +9,7 @@ are found. # Language-independent files. DRIVER_DEFINES = \ -+ -DLINK_LIBGCC_SPEC="\"%D $(LINKER_RPATH_FLAG) $(prefix)/@GCC_TARGET_MACHINE@/lib/%M $(LINKER_RPATH_FLAG) $(libdir)/%M \"" \ ++ -DLINK_LIBGCC_SPEC="\"%D $(LINKER_RPATH_FLAG)$(prefix)/@GCC_TARGET_MACHINE@/lib/%M $(LINKER_RPATH_FLAG)$(libdir)/%M \"" \ -DSTANDARD_STARTFILE_PREFIX=\"$(unlibsubdir)/\" \ -DSTANDARD_EXEC_PREFIX=\"$(libdir)/gcc/\" \ -DSTANDARD_LIBEXEC_PREFIX=\"$(libexecdir)/gcc/\" \ |