~ chicken-core (chicken-5) 400edefe35d82585bb688793f07be62b490308bc
commit 400edefe35d82585bb688793f07be62b490308bc Author: Christian Kellermann <ckeen@pestilenz.org> AuthorDate: Tue Feb 12 12:03:06 2013 +0100 Commit: felix <felix@call-with-current-continuation.org> CommitDate: Tue Feb 12 22:39:22 2013 +0100 revert 051e4105, enable -fwrapv on OpenBSD This has been changed in 2010, meanwhile the supported stable branches architectures all come with a gcc 4.2.x (except the luna88k and mvme88k architectures), so I think this justifies taking out the quirk again. Signed-off-by: Christian Kellermann <ckeen@pestilenz.org> Signed-off-by: felix <felix@call-with-current-continuation.org> diff --git a/Makefile.bsd b/Makefile.bsd index 2749aec9..f880d730 100644 --- a/Makefile.bsd +++ b/Makefile.bsd @@ -34,15 +34,9 @@ SRCDIR = ./ # platform configuration ARCH ?= $(shell sh $(SRCDIR)/config-arch.sh) -SYSTEM ?= $(shell uname -s) -# options -# OpenBSD base still uses GCC 3.3.5 which does not support -fwrapv -ifeq ($(SYSTEM), OpenBSD) -C_COMPILER_OPTIONS ?= -fno-strict-aliasing -DHAVE_CHICKEN_CONFIG_H -else +# options C_COMPILER_OPTIONS ?= -fno-strict-aliasing -fwrapv -DHAVE_CHICKEN_CONFIG_H -endif ifdef DEBUGBUILD C_COMPILER_OPTIMIZATION_OPTIONS ?= -g -Wall -Wno-unusedTrap