scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | Submodules | README | LICENSE

commit 9177b9f3069b69c784a89e2d61129f0b8126eb20
parent 80e2e9a48afa8ac5e013fd2ba183cf81352a7284
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:
Mscripts/config | 2+-
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