Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Add `LIBGC_FORCE_COMPILE=true` flag. #442

Merged
merged 1 commit into from Jun 17, 2012
Jump to file or symbol
Failed to load files and symbols.
+5 −1
Split
View
@@ -56,7 +56,7 @@ prepare_bootstrap:
@echo "Done!"
boehmgc:
- cd libs && $(MAKE)
+ cd libs && $(MAKE) LIBGC_FORCE_COMPILE=${LIBGC_FORCE_COMPILE}
# For c-source based rock releases, 'make bootstrap' will compile a version
# of rock from the C sources in build/, then use that version to re-compile itself
View
@@ -54,6 +54,10 @@ GC_PREFIX?=$(shell pkg-config --variable=libdir bdw-gc)
LIBGC_PRESENT=$(wildcard ${GC_PREFIX}/libgc.a)
LIBGC_SUPPORTS_THREADS=$(shell nm $(wildcard ${GC_PREFIX}/libgc.a) | grep GC_pthread_create)
+ifneq (${LIBGC_FORCE_COMPILE},)
+ LIBGC_PRESENT=
+endif
+
all:
mkdir -p ${GC_PATH}
ifneq (${LIBGC_PRESENT},)