Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Add `LIBGC_FORCE_COMPILE=true` flag. #442

Merged
merged 1 commit into from

1 participant

@duckinator
Collaborator

This forces it to compile libgc. Useful in cases where the system libgc
does not work as it should. (I ran into this problem on ArchLinux. Not
sure what happened.)

@duckinator duckinator Add `LIBGC_FORCE_COMPILE=true` flag.
This forces it to compile libgc. Useful in cases where the system libgc
does not work as it should. (I ran into this problem on ArchLinux. Not
sure what happened.)
fde7b5f
@duckinator duckinator merged commit 3ffdf81 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jun 17, 2012
  1. @duckinator

    Add `LIBGC_FORCE_COMPILE=true` flag.

    duckinator authored
    This forces it to compile libgc. Useful in cases where the system libgc
    does not work as it should. (I ran into this problem on ArchLinux. Not
    sure what happened.)
This page is out of date. Refresh to see the latest.
Showing with 5 additions and 1 deletion.
  1. +1 −1  Makefile
  2. +4 −0 libs/Makefile
View
2  Makefile
@@ -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
4 libs/Makefile
@@ -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},)
Something went wrong with that request. Please try again.