Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
N
nofib
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Glasgow Haskell Compiler
nofib
Commits
a3bb901f
Commit
a3bb901f
authored
14 years ago
by
Simon Marlow
Browse files
Options
Downloads
Patches
Plain Diff
Add -package array to SRC_HC_OPTS
To make batch linking work now that haskell98 is not automatically linked.
parent
d16d063d
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
mk/boilerplate.mk
+7
-0
7 additions, 0 deletions
mk/boilerplate.mk
with
7 additions
and
0 deletions
mk/boilerplate.mk
+
7
−
0
View file @
a3bb901f
...
...
@@ -66,6 +66,13 @@ TOP := $(NOFIB_TOP)
SRC_HC_OPTS
+=
$(
NoFibHcOpts
)
-Rghc-timing
# -package array is needed for GHC 7.0.1 and later, as the haskell98 package
# is no longer linked by default. We would like to use
# -hide-all-packages -package haskell2010
# instead, but there is at least one program that uses a non-haskell2010
# library module (fibheaps uses Control.Monad.ST)
SRC_HC_OPTS
+=
-package
array
ifeq
"$(WithNofibHc)" ""
HC
=
$(
GHC_TOP
)
/
$(
GHC_STAGE2
)
MKDEPENDHS
:=
$(
GHC_TOP
)
/
$(
GHC_STAGE2
)
# ToDo: wrong, if
$(
WithNofibHc
)
isn
't GHC.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment