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:   schmonz
Date:           Wed Mar 20 10:47:23 UTC 2024

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

Log Message:
clang.mk: avoid slowing pbulk-index, use _PKGSRC_BARRIER.


To generate a diff of this commit:
cvs rdiff -u -r1.43 -r1.44 pkgsrc/mk/compiler/clang.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/clang.mk
diff -u pkgsrc/mk/compiler/clang.mk:1.43 pkgsrc/mk/compiler/clang.mk:1.44
--- pkgsrc/mk/compiler/clang.mk:1.43    Tue Mar 19 21:12:47 2024
+++ pkgsrc/mk/compiler/clang.mk Wed Mar 20 10:47:22 2024
@@ -1,4 +1,4 @@
-# $NetBSD: clang.mk,v 1.43 2024/03/19 21:12:47 schmonz Exp $
+# $NetBSD: clang.mk,v 1.44 2024/03/20 10:47:22 schmonz Exp $
 #
 # This is the compiler definition for the clang compiler.
 #
@@ -80,6 +80,7 @@ CWRAPPERS_PREPEND.cc+=        -Qunused-argument
 _WRAP_EXTRA_ARGS.CXX+= -Qunused-arguments
 CWRAPPERS_APPEND.cxx+= -Qunused-arguments
 
+.if defined(_PKGSRC_BARRIER)
 # Xcode 12 and upstream Clang 16 have a zealous new default that the
 # wide world of random third-party software isn't ready for. Turn it
 # back off by default.
@@ -118,6 +119,7 @@ _NOERROR_CLANG16_cmd=       for _warn_ in ${_W
                        || ${TRUE}; \
                        done
 CWRAPPERS_PREPEND.cc+= ${_NOERROR_CLANG16_cmd:sh}
+.endif
 
 .for _version_ in ${_CXX_STD_VERSIONS}
 _CXX_STD_FLAG.${_version_}?=   -std=${_version_}



Home | Main Index | Thread Index | Old Index