about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2011-02-09T14·13+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2011-02-09T14·13+0000
commit1876ab764f5b6e42fce67bdb46a8b03131653900 (patch)
tree175c6cb5a28cf2eccfb5df063e5fe3467e3daa54
parentdfc4117e901f27276ea1ce81c852bf4d52959961 (diff)
* A better fix. $boehmgc isn't set anywhere, we should use the flags
  returned by pkg-config.

-rw-r--r--configure.ac2
-rw-r--r--release.nix2
2 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index e34e4ba3ac..273a3c2213 100644
--- a/configure.ac
+++ b/configure.ac
@@ -268,7 +268,7 @@ AC_ARG_ENABLE(gc, AC_HELP_STRING([--enable-gc],
   gc=$enableval, gc=)
 if test -n "$gc"; then
   PKG_CHECK_MODULES([BDW_GC], [bdw-gc])
-  boehmgc_lib="-L$boehmgc/lib -lgc"
+  boehmgc_lib="$BDW_GC_LIBS"
   CXXFLAGS="$BDW_GC_CFLAGS $CXXFLAGS"
   AC_DEFINE(HAVE_BOEHMGC, 1, [Whether to use the Boehm garbage collector.])
 fi
diff --git a/release.nix b/release.nix
index a1ea34547b..1fc9405bdb 100644
--- a/release.nix
+++ b/release.nix
@@ -75,7 +75,7 @@ let
         configureFlags = ''
           --disable-init-state
           --with-bzip2=${bzip2} --with-sqlite=${sqlite}
-          ${lib.optionalString (system != "i386-sunos") "--enable-gc"}
+          --enable-gc
         '';
       };