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
92192161
Commit
92192161
authored
Jun 12, 2014
by
JeanPhilippeMoresmau
Browse files
-dynamic is not a debug flag
parent
cb4f1ac2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Cabal/Distribution/PackageDescription/Check.hs
View file @
92192161
...
...
@@ -594,8 +594,9 @@ checkGhcOptions pkg =
,
checkFlags
[
"-fhpc"
]
$
PackageDistInexcusable
$
"'ghc-options: -fhpc' is not appropriate for a distributed package."
,
check
(
any
(
"-d"
`
isPrefixOf
`)
all_ghc_options
)
$
-- -dynamic is not a debug flag
,
check
(
any
(
\
opt
->
"-d"
`
isPrefixOf
`
opt
&&
opt
/=
"-dynamic"
)
all_ghc_options
)
$
PackageDistInexcusable
$
"'ghc-options: -d*' debug flags are not appropriate for a distributed package."
...
...
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