pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang



Module Name:    pkgsrc
Committed By:   riastradh
Date:           Sat Jun  3 13:22:18 UTC 2023

Modified Files:
        pkgsrc/lang/gcc6: Makefile
        pkgsrc/lang/gcc7: Makefile

Log Message:
lang/gcc6, lang/gcc7: Make these build with newer gcc.

Otherwise libgomp has some -Wattributes errors.


To generate a diff of this commit:
cvs rdiff -u -r1.38 -r1.39 pkgsrc/lang/gcc6/Makefile
cvs rdiff -u -r1.46 -r1.47 pkgsrc/lang/gcc7/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.38 pkgsrc/lang/gcc6/Makefile:1.39
--- pkgsrc/lang/gcc6/Makefile:1.38      Sat Jun  3 13:22:04 2023
+++ pkgsrc/lang/gcc6/Makefile   Sat Jun  3 13:22:18 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.38 2023/06/03 13:22:04 riastradh Exp $
+# $NetBSD: Makefile,v 1.39 2023/06/03 13:22:18 riastradh Exp $
 
 GCC_PKGNAME=           gcc6
 .include               "version.mk"
@@ -106,6 +106,8 @@ CONFIGURE_ENV+=             CC_FOR_BUILD=${NATIVE_C
 CONFIGURE_ENV+=                CXX_FOR_BUILD=${NATIVE_CXX:Q}
 .endif
 
+CFLAGS+=               -Wno-missing-attributes
+
 CONFIGURE_ARGS+=       --enable-languages=${LANGS:Q}
 CONFIGURE_ARGS+=       --enable-shared
 CONFIGURE_ARGS+=       --enable-long-long

Index: pkgsrc/lang/gcc7/Makefile
diff -u pkgsrc/lang/gcc7/Makefile:1.46 pkgsrc/lang/gcc7/Makefile:1.47
--- pkgsrc/lang/gcc7/Makefile:1.46      Sat Jun  3 13:22:04 2023
+++ pkgsrc/lang/gcc7/Makefile   Sat Jun  3 13:22:18 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.46 2023/06/03 13:22:04 riastradh Exp $
+# $NetBSD: Makefile,v 1.47 2023/06/03 13:22:18 riastradh Exp $
 
 GCC_PKGNAME=           gcc7
 .include               "version.mk"
@@ -108,6 +108,8 @@ CONFIGURE_ENV+=             CC_FOR_BUILD=${NATIVE_C
 CONFIGURE_ENV+=                CXX_FOR_BUILD=${NATIVE_CXX:Q}
 .endif
 
+CFLAGS+=               -Wno-missing-attributes
+
 CONFIGURE_ARGS+=       --enable-languages=${LANGS:Q}
 CONFIGURE_ARGS+=       --enable-shared
 CONFIGURE_ARGS+=       --enable-long-long



Home | Main Index | Thread Index | Old Index