diff options
author | Gabor Pali <pali.gabor@gmail.com> | 2013-04-27 23:13:12 +0200 |
---|---|---|
committer | Gabor Pali <pali.gabor@gmail.com> | 2013-04-27 23:15:16 +0200 |
commit | 8ab3cc1b878ac5915295e6f31ac9b592a4bde8c6 (patch) | |
tree | e4dc1ada160ffef694e89af413dfcce47a2cf970 /mk | |
parent | e5944d9f04bc6f6e62367be71d5b76e7d0473ee2 (diff) | |
download | haskell-8ab3cc1b878ac5915295e6f31ac9b592a4bde8c6.tar.gz |
Set DYNAMIC_GHC_PROGRAMS=NO for FreeBSD because $ORIGIN is not resolved
properly (see #7819)
Diffstat (limited to 'mk')
-rw-r--r-- | mk/config.mk.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mk/config.mk.in b/mk/config.mk.in index 55f57568be..5ef1f5cbad 100644 --- a/mk/config.mk.in +++ b/mk/config.mk.in @@ -134,6 +134,10 @@ DYNAMIC_TOO = YES ifeq "$(TargetOS_CPP)" "mingw32" # This doesn't work on Windows yet DYNAMIC_GHC_PROGRAMS = 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 DYNAMIC_GHC_PROGRAMS = YES endif |