pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/lang/gcc46



Module Name:    pkgsrc
Committed By:   sevan
Date:           Wed Oct 19 21:09:40 UTC 2016

Modified Files:
        pkgsrc/lang/gcc46: Makefile

Log Message:
Unbreak on Tiger by disabling multilib support which causes build to hang on
32-bit PowerPC Macs and explicitly use DWARF2 to work around toolchain
limitations which cause the comparison test to fail otherwise.


To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 pkgsrc/lang/gcc46/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/gcc46/Makefile
diff -u pkgsrc/lang/gcc46/Makefile:1.32 pkgsrc/lang/gcc46/Makefile:1.33
--- pkgsrc/lang/gcc46/Makefile:1.32     Tue Sep  6 13:57:02 2016
+++ pkgsrc/lang/gcc46/Makefile  Wed Oct 19 21:09:40 2016
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.32 2016/09/06 13:57:02 maya Exp $
+# $NetBSD: Makefile,v 1.33 2016/10/19 21:09:40 sevan Exp $
 
 DISTNAME=              gcc-${GCC_VERSION}
 PKGNAME=               gcc46-${GCC_VERSION}
@@ -96,6 +96,14 @@ CONFIGURE_ARGS.Linux+=       --disable-libquad
 # build fails for missing files.
 CONFIGURE_ARGS.Darwin+=        STRIP_FOR_TARGET=${TOOLS_PLATFORM.strip}
 
+.if !empty(MACHINE_PLATFORM:MDarwin-[0-8].*-*)
+CONFIGURE_ARGS+=        --with-dwarf2
+.endif
+
+.if !empty(MACHINE_PLATFORM:MDarwin-[0-8].*-powerpc)
+CONFIGURE_ARGS+=        --disable-multilib
+.endif
+
 CONFIGURE_ENV+=                CONFIG_SHELL=${CONFIG_SHELL}
 
 MAKE_ENV+=             SHELL=${CONFIG_SHELL}



Home | Main Index | Thread Index | Old Index