~ chicken-core (chicken-5) 5dccc269dcae32ce907c837135c75b47a36ee575


commit 5dccc269dcae32ce907c837135c75b47a36ee575
Author:     felix <felix@call-with-current-continuation.org>
AuthorDate: Thu Dec 10 16:21:55 2009 +0100
Commit:     felix <felix@call-with-current-continuation.org>
CommitDate: Thu Dec 10 16:21:55 2009 +0100

    C_COMPILER_OPTIONS can be overridden in config-file

diff --git a/Makefile.bsd b/Makefile.bsd
index 167f69c2..e7693cd5 100644
--- a/Makefile.bsd
+++ b/Makefile.bsd
@@ -37,7 +37,7 @@ ARCH = $(shell sh $(SRCDIR)/config-arch.sh)
 
 # options
 
-C_COMPILER_OPTIONS = -fno-strict-aliasing -DHAVE_CHICKEN_CONFIG_H
+C_COMPILER_OPTIONS ?= -fno-strict-aliasing -DHAVE_CHICKEN_CONFIG_H
 ifdef DEBUGBUILD
 C_COMPILER_OPTIMIZATION_OPTIONS ?= -g -Wall -Wno-unused
 else
diff --git a/Makefile.cross-linux-mingw b/Makefile.cross-linux-mingw
index 7ebb077d..949ced1c 100644
--- a/Makefile.cross-linux-mingw
+++ b/Makefile.cross-linux-mingw
@@ -49,7 +49,7 @@ HOSTSYSTEM=mingw32
 
 # options
 
-C_COMPILER_OPTIONS = -fno-strict-aliasing -DHAVE_CHICKEN_CONFIG_H
+C_COMPILER_OPTIONS ?= -fno-strict-aliasing -DHAVE_CHICKEN_CONFIG_H
 ifdef DEBUGBUILD
 C_COMPILER_OPTIMIZATION_OPTIONS ?= -g -Wall -Wno-unused
 else
diff --git a/Makefile.cygwin b/Makefile.cygwin
index 33a8fb07..3ecea7bc 100644
--- a/Makefile.cygwin
+++ b/Makefile.cygwin
@@ -47,7 +47,7 @@ CXX_COMPILER = g++
 LINKER = gcc
 
 
-C_COMPILER_OPTIONS = -fno-strict-aliasing -DHAVE_CHICKEN_CONFIG_H
+C_COMPILER_OPTIONS ?= -fno-strict-aliasing -DHAVE_CHICKEN_CONFIG_H
 ifdef DEBUGBUILD
 C_COMPILER_OPTIMIZATION_OPTIONS ?= -g -Wall -Wno-unused
 else
diff --git a/Makefile.linux b/Makefile.linux
index 0a21ad0a..5e0463cf 100644
--- a/Makefile.linux
+++ b/Makefile.linux
@@ -37,7 +37,7 @@ ARCH = $(shell sh $(SRCDIR)/config-arch.sh)
 
 # options
 
-C_COMPILER_OPTIONS = -fno-strict-aliasing -DHAVE_CHICKEN_CONFIG_H
+C_COMPILER_OPTIONS ?= -fno-strict-aliasing -DHAVE_CHICKEN_CONFIG_H
 ifdef DEBUGBUILD
 C_COMPILER_OPTIMIZATION_OPTIONS ?= -g -Wall -Wno-unused
 else
diff --git a/Makefile.macosx b/Makefile.macosx
index eb849cd8..cef3d848 100644
--- a/Makefile.macosx
+++ b/Makefile.macosx
@@ -41,7 +41,7 @@ POSTINSTALL_PROGRAM = install_name_tool
 
 # options
 
-C_COMPILER_OPTIONS = -no-cpp-precomp -fno-strict-aliasing -fno-common -DHAVE_CHICKEN_CONFIG_H
+C_COMPILER_OPTIONS ?= -no-cpp-precomp -fno-strict-aliasing -fno-common -DHAVE_CHICKEN_CONFIG_H
 ifdef DEBUGBUILD
 C_COMPILER_OPTIMIZATION_OPTIONS ?= -g -Wall -Wno-unused
 else
diff --git a/Makefile.mingw b/Makefile.mingw
index df9a82e8..7115e068 100644
--- a/Makefile.mingw
+++ b/Makefile.mingw
@@ -54,7 +54,7 @@ EXE = .exe
 # options
 
 C_COMPILER ?= gcc
-C_COMPILER_OPTIONS = -fno-strict-aliasing -DHAVE_CHICKEN_CONFIG_H
+C_COMPILER_OPTIONS ?= -fno-strict-aliasing -DHAVE_CHICKEN_CONFIG_H
 ifdef DEBUGBUILD
 C_COMPILER_OPTIMIZATION_OPTIONS ?= -g -Wall -Wno-unused
 else
diff --git a/Makefile.mingw-msys b/Makefile.mingw-msys
index 5379c16b..c88bf53a 100644
--- a/Makefile.mingw-msys
+++ b/Makefile.mingw-msys
@@ -45,7 +45,7 @@ EXE = .exe
 
 # options
 
-C_COMPILER_OPTIONS = -fno-strict-aliasing -DHAVE_CHICKEN_CONFIG_H
+C_COMPILER_OPTIONS ?= -fno-strict-aliasing -DHAVE_CHICKEN_CONFIG_H
 ifdef DEBUGBUILD
 C_COMPILER_OPTIMIZATION_OPTIONS ?= -g -Wall -Wno-unused
 else
diff --git a/Makefile.solaris b/Makefile.solaris
index 36f15384..59482d2b 100644
--- a/Makefile.solaris
+++ b/Makefile.solaris
@@ -37,7 +37,7 @@ ARCH = $(shell sh $(SRCDIR)/config-arch.sh)
 
 # options
 
-C_COMPILER_OPTIONS = -fno-strict-aliasing -DHAVE_CHICKEN_CONFIG_H
+C_COMPILER_OPTIONS ?= -fno-strict-aliasing -DHAVE_CHICKEN_CONFIG_H
 ifdef DEBUGBUILD
 C_COMPILER_OPTIMIZATION_OPTIONS ?= -g -Wall -Wno-unused
 else
Trap