about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2013-11-22T20·05+0000
committerEelco Dolstra <eelco.dolstra@logicblox.com>2013-11-22T20·05+0000
commit9b11a8bfbcfd9e6f40ae8b573d4de492a23b91b9 (patch)
tree3807c9e82a4b4af8c6a9b2108079e9ba73156d2f
parent812b5a30ecc9d8f78b54644b37c5c2c4375555bc (diff)
Fix building without Boehm GC
-rw-r--r--Makefile.config.in1
-rw-r--r--src/libmain/Makefile.new2
2 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.config.in b/Makefile.config.in
index bfe3deab9a6f..ed38e2980bf8 100644
--- a/Makefile.config.in
+++ b/Makefile.config.in
@@ -1,3 +1,4 @@
+BDW_GC_LIBS = @BDW_GC_LIBS@
 BUILD_DEBUG = 1
 CC = @CC@
 CFLAGS = @CFLAGS@
diff --git a/src/libmain/Makefile.new b/src/libmain/Makefile.new
index b198d78422b7..9e26aa8b9e53 100644
--- a/src/libmain/Makefile.new
+++ b/src/libmain/Makefile.new
@@ -4,4 +4,4 @@ libmain_DIR := $(d)
 
 libmain_SOURCES = shared.cc stack.cc
 
-libmain_LDFLAGS = -lgc
+libmain_LDFLAGS = $(BDW_GC_LIBS)