Module Name: src
Committed By: martin
Date: Fri Dec 11 19:34:06 UTC 2020
Modified Files:
src/external/bsd/pkg_install [netbsd-8]: Makefile.inc
Log Message:
Remove options unknown to all native gcc on this branch.
The version check did not work because on this branch the numbering
scheme wass different (e.g. gcc 5.x is used and HAVE_GCC is 53, which
numerically clearly is > 7 - but that is not what the new check meant).
To generate a diff of this commit:
cvs rdiff -u -r1.4.34.1 -r1.4.34.2 src/external/bsd/pkg_install/Makefile.inc
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/bsd/pkg_install/Makefile.inc
diff -u src/external/bsd/pkg_install/Makefile.inc:1.4.34.1 src/external/bsd/pkg_install/Makefile.inc:1.4.34.2
--- src/external/bsd/pkg_install/Makefile.inc:1.4.34.1 Tue Dec 8 18:48:58 2020
+++ src/external/bsd/pkg_install/Makefile.inc Fri Dec 11 19:34:06 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.4.34.1 2020/12/08 18:48:58 martin Exp $
+# $NetBSD: Makefile.inc,v 1.4.34.2 2020/12/11 19:34:06 martin Exp $
DIST= ${NETBSDSRCDIR}/external/bsd/pkg_install/dist
@@ -13,9 +13,3 @@ WARNS= 4
CWARNFLAGS+= -Wno-missing-noreturn
.include <bsd.own.mk>
-
-# show_version() does not return
-.if defined(HAVE_GCC) && ${HAVE_GCC} >= 7 && ${ACTIVE_CC} == "gcc"
-COPTS.main.c+= -Wno-error=implicit-fallthrough
-COPTS.pkg_delete.c+= -Wno-error=implicit-fallthrough
-.endif