pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/lang/gcc12
Module Name: pkgsrc
Committed By: jperkin
Date: Fri Oct 20 10:37:32 UTC 2023
Modified Files:
pkgsrc/lang/gcc12: Makefile
Log Message:
gcc12: Work around ld bug in Xcode 15.
To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 pkgsrc/lang/gcc12/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/gcc12/Makefile
diff -u pkgsrc/lang/gcc12/Makefile:1.6 pkgsrc/lang/gcc12/Makefile:1.7
--- pkgsrc/lang/gcc12/Makefile:1.6 Sat Jun 3 13:22:04 2023
+++ pkgsrc/lang/gcc12/Makefile Fri Oct 20 10:37:32 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2023/06/03 13:22:04 riastradh Exp $
+# $NetBSD: Makefile,v 1.7 2023/10/20 10:37:32 jperkin Exp $
PKGNAME= ${GCC_PKGNAME}-${GCC12_DIST_VERSION}
## When bumping the PKGREVISION of this package the PKGREVISION of
@@ -25,6 +25,11 @@ BOOT_LDFLAGS+= ${LDFLAGS:M-Wl,-syslibro
# GCC does not understand this option; remove it, or stage build will fail
BUILDLINK_TRANSFORM+= rm:-stdlib=libc++
+# Work around ld bug in Xcode 15
+.if ${OPSYS} == "Darwin" && ${CC_VERSION:Mclang-15.*}
+LDFLAGS_FOR_TARGET+= -Wl,-ld_classic
+.endif
+
# Disable fixincludes on SmartOS, header changes result in broken includes
# being generated, see https://github.com/joyent/pkgsrc-legacy/issues/270
.if ${OS_VARIANT} == "SmartOS"
Home |
Main Index |
Thread Index |
Old Index