Commit 092c0bd4 authored by Simon Marlow's avatar Simon Marlow

Make DYNAMIC_BY_DEFAULT=NO when GhcUnregisterised

parent 4444dd88
......@@ -136,8 +136,17 @@ SharedLibsByDefaultPlatformList = \
x86_64-unknown-linux \
# DYANMIC_BY_DEFAULT says whether this compiler will default to
# building dynamic executables, i.e. -dynamic is on. We do this for
# certain platforms because it lets us use the system dynamic linker
# instead of our own linker for GHCi.
# We do not enable this for an unregisterised build. It is currently
# unknown whether shared libraries (should) work when unregisterised.
DYNAMIC_BY_DEFAULT = $(strip $(if $(filter YES,$(GhcUnregisterised)),NO,\
$(if $(filter $(TARGETPLATFORM),\
# Build a compiler that will build *unregisterised* libraries and
# binaries by default. Unregisterised code is supposed to compile and
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment