Hi,

This patch reverts 051e4105 and enables -fwrapv on OpenBSD again.

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.

Runs fine on my machines so far.

Kind regards,

Christian

-- 
In the world, there is nothing more submissive and weak than
water. Yet for attacking that which is hard and strong, nothing can
surpass it. --- Lao Tzu
>From e3601d8b177526323dc167b06a8b52aa331dc6f4 Mon Sep 17 00:00:00 2001
From: Christian Kellermann <[email protected]>
Date: Tue, 12 Feb 2013 12:03:06 +0100
Subject: [PATCH] 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 <[email protected]>
---
 Makefile.bsd |    8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/Makefile.bsd b/Makefile.bsd
index 2749aec..f880d73 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-unused
-- 
1.7.10.4

_______________________________________________
Chicken-hackers mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/chicken-hackers

Reply via email to