diff --git a/Makefile.bsd b/Makefile.bsd
index d1c23c6..705afa6 100644
a
|
b
|
SRCDIR = ./ |
34 | 34 | # platform configuration |
35 | 35 | |
36 | 36 | ARCH ?= $(shell sh $(SRCDIR)/config-arch.sh) |
37 | | |
| 37 | SYSTEM ?= $(shell uname -s) |
38 | 38 | # options |
39 | 39 | |
| 40 | # OpenBSD base still uses GCC 3.3.5 which does not support -fwrapv |
| 41 | ifeq ($(SYSTEM), OpenBSD) |
| 42 | C_COMPILER_OPTIONS ?= -fno-strict-aliasing -DHAVE_CHICKEN_CONFIG_H |
| 43 | else |
40 | 44 | C_COMPILER_OPTIONS ?= -fno-strict-aliasing -fwrapv -DHAVE_CHICKEN_CONFIG_H |
| 45 | endif |
| 46 | |
41 | 47 | ifdef DEBUGBUILD |
42 | 48 | C_COMPILER_OPTIMIZATION_OPTIONS ?= -g -Wall -Wno-unused |
43 | 49 | else |