Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
3e664735
Commit
3e664735
authored
Jun 27, 2007
by
andy@galois.com
Browse files
Fixing -fhpc flag to allow -fno-hpc
parent
878924ac
Changes
1
Hide whitespace changes
Inline
Side-by-side
compiler/main/StaticFlags.hs
View file @
3e664735
...
...
@@ -160,10 +160,6 @@ static_flags = [
,
(
"dppr-user-length"
,
AnySuffix
addOpt
)
-- rest of the debugging flags are dynamic
--------- Haskell Program Coverage -----------------------------------
,
(
"fhpc"
,
PassFlag
addOpt
)
--------- Profiling --------------------------------------------------
,
(
"auto-all"
,
NoArg
(
addOpt
"-fauto-sccs-on-all-toplevs"
)
)
,
(
"auto"
,
NoArg
(
addOpt
"-fauto-sccs-on-exported-toplevs"
)
)
...
...
@@ -370,7 +366,8 @@ isStaticFlag f =
"fext-core"
,
"fcpr-off"
,
"ferror-spans"
,
"fPIC"
"fPIC"
,
"fhpc"
]
||
any
(
flip
prefixMatch
f
)
[
"fliberate-case-threshold"
,
...
...
Write
Preview
Supports
Markdown
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