~ chicken-core (chicken-5) 0cfcd5bbcdbbc2007c785b8ae77b5bd1328de383


commit 0cfcd5bbcdbbc2007c785b8ae77b5bd1328de383
Author:     felix <felix@call-with-current-continuation.org>
AuthorDate: Fri Dec 20 13:52:27 2013 +0100
Commit:     Peter Bex <peter.bex@xs4all.nl>
CommitDate: Sat Feb 15 11:39:24 2014 +0100

    Use C_COMPILER_OPTIMIZATION_OPTIONS also when building "chicken-boot", as this setting is the only one the user can override to provide custom compiler options.
    
    Signed-off-by: Peter Bex <peter.bex@xs4all.nl>

diff --git a/rules.make b/rules.make
index b52bdf82..48e41d9a 100644
--- a/rules.make
+++ b/rules.make
@@ -675,11 +675,11 @@ bench: $(CHICKEN_SHARED_EXECUTABLE) $(CSI_SHARED_EXECUTABLE) $(CSC_PROGRAM)$(EXE
 boot-chicken:
 	$(MAKE) -f Makefile.$(PLATFORM) PLATFORM=$(PLATFORM) PREFIX=/nowhere CONFIG= \
 	  CHICKEN=$(CHICKEN) PROGRAM_SUFFIX=-boot-stage1 STATICBUILD=1 \
-	  C_COMPILER_OPTIMIZATION_OPTIONS= C_HACKED_APPLY= BUILDING_CHICKEN_BOOT=1 \
+	  C_COMPILER_OPTIMIZATION_OPTIONS="$(C_COMPILER_OPTIMIZATION_OPTIONS)" C_HACKED_APPLY= BUILDING_CHICKEN_BOOT=1 \
 	  confclean chicken-boot-stage1$(EXE)
 	$(MAKE) -f Makefile.$(PLATFORM) PLATFORM=$(PLATFORM) PREFIX=/nowhere CONFIG= \
 	  CHICKEN=.$(SEP)chicken-boot-stage1$(EXE) PROGRAM_SUFFIX=-boot \
-	  STATICBUILD=1 C_COMPILER_OPTIMIZATION_OPTIONS= \
+	  STATICBUILD=1 C_COMPILER_OPTIMIZATION_OPTIONS="$(C_COMPILER_OPTIMIZATION_OPTIONS)" \
 	  touchfiles chicken-boot$(EXE) confclean
 
 .PHONY: touchfiles
Trap