pkgsrc-Changes archive

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

CVS commit: pkgsrc/pkgtools/bootstrap-mk-files/files



Module Name:    pkgsrc
Committed By:   nia
Date:           Fri Jun 18 12:17:34 UTC 2021

Modified Files:
        pkgsrc/pkgtools/bootstrap-mk-files/files: bsd.sys.mk

Log Message:
bootstrap-mk: Remove GCC/Clang-specific warning flags

These are leftover from the NetBSD base system where having lots
of specific warning flags makes sense because the system is compiled
with -Werror, but here they just cause portability problems.

Reported as breaking the bootstrap on HP-UX by Lehel Bernadt on
pkgsrc-users@.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/pkgtools/bootstrap-mk-files/files/bsd.sys.mk

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

Modified files:

Index: pkgsrc/pkgtools/bootstrap-mk-files/files/bsd.sys.mk
diff -u pkgsrc/pkgtools/bootstrap-mk-files/files/bsd.sys.mk:1.4 pkgsrc/pkgtools/bootstrap-mk-files/files/bsd.sys.mk:1.5
--- pkgsrc/pkgtools/bootstrap-mk-files/files/bsd.sys.mk:1.4     Wed Aug  2 09:38:06 2017
+++ pkgsrc/pkgtools/bootstrap-mk-files/files/bsd.sys.mk Fri Jun 18 12:17:34 2021
@@ -1,26 +1,7 @@
-#      $NetBSD: bsd.sys.mk,v 1.4 2017/08/02 09:38:06 maya Exp $
+#      $NetBSD: bsd.sys.mk,v 1.5 2021/06/18 12:17:34 nia Exp $
 #
 # Overrides used for NetBSD source tree builds.
 
-.if defined(WARNS)
-.if ${WARNS} > 0
-CFLAGS+= -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith
-# XXX Delete -Wuninitialized by default for now -- the compiler doesn't
-# XXX always get it right.
-CFLAGS+= -Wno-uninitialized
-.endif
-.if ${WARNS} > 1
-CFLAGS+=-Wreturn-type -Wcast-qual -Wpointer-arith -Wwrite-strings
-CFLAGS+=-Wswitch -Wshadow
-.endif
-.endif
-
-.if defined(WFORMAT) && defined(FORMAT_AUDIT)
-.if ${WFORMAT} > 1
-CFLAGS+=-Wnetbsd-format-audit -Wno-format-extra-args
-.endif
-.endif
-
 CFLAGS+= ${CWARNFLAGS}
 
 .if defined(DESTDIR)



Home | Main Index | Thread Index | Old Index