Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
092c0bd4
Commit
092c0bd4
authored
Oct 29, 2012
by
Simon Marlow
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make DYNAMIC_BY_DEFAULT=NO when GhcUnregisterised
parent
4444dd88
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
2 deletions
+11
-2
mk/config.mk.in
mk/config.mk.in
+11
-2
No files found.
mk/config.mk.in
View file @
092c0bd4
...
...
@@ -136,8 +136,17 @@ SharedLibsByDefaultPlatformList = \
x86_64-unknown-linux
\
x86_64-apple-darwin
DYNAMIC_BY_DEFAULT
=
$(
if
$(
filter
$(TARGETPLATFORM)
,
\
$(SharedLibsByDefaultPlatformList)
)
,YES,NO
)
# 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)
,
\
$(SharedLibsByDefaultPlatformList)
)
,YES,NO
)))
# Build a compiler that will build *unregisterised* libraries and
# binaries by default. Unregisterised code is supposed to compile and
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment