about summary refs log tree commit diff
diff options
context:
space:
mode:
-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)