~ chicken-core (chicken-5) 21fa0f220b0db8682844faf680834b3aef486c01
commit 21fa0f220b0db8682844faf680834b3aef486c01
Author: Peter Bex <peter@more-magic.net>
AuthorDate: Mon May 25 15:25:17 2015 +0200
Commit: Peter Bex <peter@more-magic.net>
CommitDate: Mon May 25 15:47:41 2015 +0200
Don't use -local for bootstrap compiler objects
Some variables from the compiler-namespace are reassigned -- for example
the handful of globals from compiler.scm that are `set!` to another
value in batch-driver.scm -- so the compiler objects that use them
shouldn't be compiled with -local.
Signed-off-by: Peter Bex <peter@more-magic.net>
Conflicts:
defaults.make
diff --git a/defaults.make b/defaults.make
index 5bb13aec..05c796d5 100644
--- a/defaults.make
+++ b/defaults.make
@@ -255,7 +255,7 @@ CHICKEN_OPTIONS += -specialize -types $(SRCDIR)types.db
endif
CHICKEN_OPTIONS += $(EXTRA_CHICKEN_OPTIONS)
CHICKEN_LIBRARY_OPTIONS = $(CHICKEN_OPTIONS) -explicit-use -no-trace
-CHICKEN_PROGRAM_OPTIONS = $(CHICKEN_OPTIONS) -no-lambda-info -local
+CHICKEN_PROGRAM_OPTIONS = $(CHICKEN_OPTIONS) -no-lambda-info
CHICKEN_DYNAMIC_OPTIONS = $(CHICKEN_OPTIONS) -feature chicken-compile-shared -dynamic
CHICKEN_IMPORT_LIBRARY_OPTIONS = $(CHICKEN_DYNAMIC_OPTIONS) -no-trace
Trap