pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/lang/gcc6
Module Name: pkgsrc
Committed By: tsutsui
Date: Sun Jun 23 15:47:17 UTC 2024
Modified Files:
pkgsrc/lang/gcc6: Makefile
Log Message:
gcc6: specify -Wno-missing-attributes only on newer gcc versions.
This makes stage1 gcc builds on Mac OS Tiger with Xcode 2.5 (gcc 4.0.1)
but still fails during stage2 libstdc++.
To generate a diff of this commit:
cvs rdiff -u -r1.46 -r1.47 pkgsrc/lang/gcc6/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/gcc6/Makefile
diff -u pkgsrc/lang/gcc6/Makefile:1.46 pkgsrc/lang/gcc6/Makefile:1.47
--- pkgsrc/lang/gcc6/Makefile:1.46 Wed Apr 24 10:56:06 2024
+++ pkgsrc/lang/gcc6/Makefile Sun Jun 23 15:47:17 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.46 2024/04/24 10:56:06 jperkin Exp $
+# $NetBSD: Makefile,v 1.47 2024/06/23 15:47:17 tsutsui Exp $
GCC_PKGNAME= gcc6
.include "version.mk"
@@ -120,7 +120,9 @@ CONFIGURE_ENV+= CC_FOR_BUILD=${NATIVE_C
CONFIGURE_ENV+= CXX_FOR_BUILD=${NATIVE_CXX:Q}
.endif
+.if !${CC_VERSION:Mgcc-[3-7].*}
CFLAGS+= -Wno-missing-attributes
+.endif
CONFIGURE_ARGS+= --enable-languages=${LANGS:Q}
CONFIGURE_ARGS+= --enable-shared
Home |
Main Index |
Thread Index |
Old Index