summaryrefslogtreecommitdiff
path: root/Mk/Uses
diff options
context:
space:
mode:
authorTobias C. Berner <tcberner@FreeBSD.org>2022-12-18 18:50:00 +0100
committerTobias C. Berner <tcberner@FreeBSD.org>2022-12-18 18:59:53 +0100
commit32db8ad200c91f1769b2ac538e7bff5f712547d2 (patch)
tree5efb95c74b5bfd899ae1ff56abde4321169c5204 /Mk/Uses
parenttextproc/wv: fix build with clang 15 (diff)
framework: force expansion of constraint values in llvm.mk
This should fix an issue where USES=llvm:min=13 would not set _LLVM_MK_CONSTRAINT_min to 13. Reported by: adamw
Diffstat (limited to 'Mk/Uses')
-rw-r--r--Mk/Uses/llvm.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mk/Uses/llvm.mk b/Mk/Uses/llvm.mk
index 2cae756fd280..388b1a3ba206 100644
--- a/Mk/Uses/llvm.mk
+++ b/Mk/Uses/llvm.mk
@@ -70,7 +70,7 @@ _LLVM_MK_VERSION= ${LLVM_DEFAULT}
. for _constraint in ${_LLVM_MK_VALID_CONSTRAINTS}
_version= ${llvm_ARGS:M${_constraint}=[0-9]*:S/${_constraint}=//}
. if !empty(_version)
-_LLVM_MK_CONSTRAINT_${_constraint}= ${_version}
+_LLVM_MK_CONSTRAINT_${_constraint}:= ${_version}
. endif
. endfor