Re-enable DYNAMIC_GHC_PROGRAMS for FreeBSD.
authorGabor Pali <pali.gabor@gmail.com>
Fri, 17 Jan 2014 19:24:00 +0000 (20:24 +0100)
committerGabor Pali <pali.gabor@gmail.com>
Fri, 17 Jan 2014 19:24:00 +0000 (20:24 +0100)
All actively supported releases (8.4-RELEASE, 9.2-RELEASE and the
upcoming 10.0-RELEASE) now support resolution of $ORIGIN properly.

mk/config.mk.in

index 350ea69..b3d6995 100644 (file)
@@ -138,10 +138,6 @@ ifeq "$(TargetOS_CPP)" "mingw32"
 # This doesn't work on Windows yet
 DYNAMIC_GHC_PROGRAMS = NO
 DYNAMIC_TOO=NO
-else ifeq "$(TargetOS_CPP)" "freebsd"
-# FreeBSD cannot do proper resolution for $ORIGIN (due to a bug in
-# rtld(1)), so disable it by default (see #7819).
-DYNAMIC_GHC_PROGRAMS = NO
 else ifeq "$(PlatformSupportsSharedLibs)" "NO"
 DYNAMIC_GHC_PROGRAMS = NO
 else