commit 7e4220e1c67a2049e8df31f979cc34d13d3f6938
parent 585f0ebb06fb18adb79d7e9749f081cbbe1a7662
Author: Quentin Rameau <quinq@fifth.space>
Date: Mon, 23 Aug 2021 08:52:14 +0200
scripts/config: Fix ARFLAGS on OpenBSD
Even with .POSIX target, OpenBSD make sets
ARFLAGS to rv instead of -rv, resulting in calling
ar -u rv, and breaking the build.
Forcing it to POSIX default value until it's fixed
upstream solves the problem.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/config b/scripts/config
@@ -2,7 +2,7 @@
case `uname` in
OpenBSD)
- echo TOOL=${TOOL:-clang} HOST=bsd
+ echo TOOL=${TOOL:-clang} HOST=bsd ARFLAGS=${ARFLAGS:--rv}
;;
*BSD)
echo HOST=bsd