~ chicken-core (chicken-5) 2f55c8dc3f392e3ca1edfefe8577b581e4990c4e
commit 2f55c8dc3f392e3ca1edfefe8577b581e4990c4e Author: felix <felix@call-with-current-continuation.org> AuthorDate: Tue Oct 12 12:14:32 2021 +0200 Commit: Peter Bex <peter@more-magic.net> CommitDate: Wed Oct 13 08:04:37 2021 +0200 Default to "cc" on BSD systems OpenBSD uses clang as default system compiler, which causes ABI mismatches when linking with C++ code. To make integration easier, let's default to the system compiler on any BSD platform. Signed-off-by: Peter Bex <peter@more-magic.net> diff --git a/Makefile.bsd b/Makefile.bsd index 91f99331..679b01c3 100644 --- a/Makefile.bsd +++ b/Makefile.bsd @@ -30,6 +30,8 @@ SRCDIR ?= ./ ARCH ?= $(shell sh $(SRCDIR)/config-arch.sh) +C_COMPILER ?= cc + # options C_COMPILER_OPTIONS ?= -fno-strict-aliasing -fwrapv -DHAVE_CHICKEN_CONFIG_H diff --git a/NEWS b/NEWS index 110a0329..de01c00e 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,9 @@ +5.3.1 + +- Build system + - Default "cc" on BSD systems for building CHICKEN to avoid ABI problems + when linking with C++ code. + 5.3.0rc4 - CompilerTrap