Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
Packages
Cabal
Commits
3db7be04
Commit
3db7be04
authored
Feb 01, 2008
by
Duncan Coutts
Browse files
Tweak the ghc-options: -O -O2 messages again
parent
9ed51d3b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Distribution/PackageDescription/QA.hs
View file @
3db7be04
...
...
@@ -116,12 +116,12 @@ ghcSpecific pkg_descr = do
++
"arches except for x86, x86-64 and ppc."
ghcFail
"-O"
$
"Cabal automatically adds the '-O' flag.
Setting it yourself
"
++
"interferes with the --disable-optimization flag."
"
-O is not needed.
Cabal automatically adds the '-O' flag.
\n
"
++
"
Setting it yourself
interferes with the --disable-optimization flag."
ghcWarn
"-O2"
$
"-O2 is rarely needed. Check that it is giving a real benefit
and not
"
++
"just imposing longer compile times on your users."
"-O2 is rarely needed. Check that it is giving a real benefit
\n
"
++
"
and not
just imposing longer compile times on your users."
-- most important at this stage to get the framework right
when
(
any
(`
elem
`
all_ghc_options
)
[
"-ffi"
,
"-fffi"
])
$
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment