pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk mk: Stop defaulting to -Werror with BSD makefiles o...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9f6f4abae7e3
branches:  trunk
changeset: 378935:9f6f4abae7e3
user:      nia <nia%pkgsrc.org@localhost>
date:      Mon May 09 15:35:31 2022 +0000

description:
mk: Stop defaulting to -Werror with BSD makefiles outside the NetBSD
source tree

diffstat:

 mk/bsd.pkg.use.mk |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r c44afbb9da82 -r 9f6f4abae7e3 mk/bsd.pkg.use.mk
--- a/mk/bsd.pkg.use.mk Mon May 09 15:32:31 2022 +0000
+++ b/mk/bsd.pkg.use.mk Mon May 09 15:35:31 2022 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.pkg.use.mk,v 1.70 2021/08/28 08:07:39 nia Exp $
+#      $NetBSD: bsd.pkg.use.mk,v 1.71 2022/05/09 15:35:31 nia Exp $
 #
 # Turn USE_* macros into proper depedency logic.  Included near the top of
 # bsd.pkg.mk, after bsd.prefs.mk.
@@ -27,9 +27,11 @@
 .  endif
 .  if defined(HAVE_LLVM)
 MAKE_ENV+=             HAVE_LLVM=${HAVE_LLVM:Q}
+MAKE_ENV+=             NOCLANGERROR=1
 .  endif
 .  if defined(HAVE_GCC)
 MAKE_ENV+=             HAVE_GCC=${HAVE_GCC:Q}
+MAKE_ENV+=             NOGCCERROR=1
 .  endif
 .endif
 



Home | Main Index | Thread Index | Old Index