Source-Changes-HG archive

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

[src/netbsd-8]: src/external/bsd/pkg_install Remove options unknown to all na...



details:   https://anonhg.NetBSD.org/src/rev/350156d0903a
branches:  netbsd-8
changeset: 947119:350156d0903a
user:      martin <martin%NetBSD.org@localhost>
date:      Fri Dec 11 19:34:06 2020 +0000

description:
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).

diffstat:

 external/bsd/pkg_install/Makefile.inc |  8 +-------
 1 files changed, 1 insertions(+), 7 deletions(-)

diffs (19 lines):

diff -r f2add46c2f59 -r 350156d0903a external/bsd/pkg_install/Makefile.inc
--- a/external/bsd/pkg_install/Makefile.inc     Fri Dec 11 15:48:59 2020 +0000
+++ b/external/bsd/pkg_install/Makefile.inc     Fri Dec 11 19:34:06 2020 +0000
@@ -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 @@
 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



Home | Main Index | Thread Index | Old Index