pkgsrc-Changes archive

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

CVS commit: pkgsrc/mk/compiler



Module Name:    pkgsrc
Committed By:   nia
Date:           Wed Oct 16 20:16:25 UTC 2024

Modified Files:
        pkgsrc/mk/compiler: gcc.mk

Log Message:
mk: Strip out more new GCC flags on older versions


To generate a diff of this commit:
cvs rdiff -u -r1.283 -r1.284 pkgsrc/mk/compiler/gcc.mk

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

Modified files:

Index: pkgsrc/mk/compiler/gcc.mk
diff -u pkgsrc/mk/compiler/gcc.mk:1.283 pkgsrc/mk/compiler/gcc.mk:1.284
--- pkgsrc/mk/compiler/gcc.mk:1.283     Fri Aug 23 10:33:05 2024
+++ pkgsrc/mk/compiler/gcc.mk   Wed Oct 16 20:16:25 2024
@@ -1,4 +1,4 @@
-# $NetBSD: gcc.mk,v 1.283 2024/08/23 10:33:05 nia Exp $
+# $NetBSD: gcc.mk,v 1.284 2024/10/16 20:16:25 nia Exp $
 #
 # This is the compiler definition for the GNU Compiler Collection.
 #
@@ -377,6 +377,8 @@ _GCC_PKG=   gcc-${_GCC_VERSION:C/-.*$//}
 # Note that pkgsrc also sets this flag itself for Darwin+clang.
 BUILDLINK_TRANSFORM+=  rm:-Wno-error=implicit-function-declaration
 BUILDLINK_TRANSFORM+=  rm:-Wno-error=sign-conversion
+BUILDLINK_TRANSFORM+=  rm:-Wno-error=incompatible-pointer-types
+BUILDLINK_TRANSFORM+=  rm:-Wno-error=implicit-int
 .endif
 
 .if !empty(_GCC_VERSION:M[23].*) || !empty(_GCC_VERSION:M4.[01234].*)



Home | Main Index | Thread Index | Old Index