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
8be51771
Commit
8be51771
authored
Jun 21, 2014
by
Duncan Coutts
Browse files
Merge pull request #1939 from JPMoresmau/master
-dynamic is not a debug flag
parents
58a13167
92192161
Changes
1
Hide whitespace changes
Inline
Side-by-side
Cabal/Distribution/PackageDescription/Check.hs
View file @
8be51771
...
...
@@ -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