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
Packages
Cabal
Commits
bc592078
Commit
bc592078
authored
Dec 18, 2016
by
Andy Craze
Committed by
GitHub
Dec 18, 2016
Browse files
Merge pull request #4171 from accraze/check-fprof-warn
adding ghc-prof-options to fprof warning
parents
9b26032e
b570642d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Cabal/Distribution/PackageDescription/Check.hs
View file @
bc592078
...
...
@@ -1539,7 +1539,7 @@ checkDevelopmentOnlyFlagsBuildInfo bi =
"-fprof-cafs"
,
"-fno-prof-count-entries"
,
"-auto-all"
,
"-auto"
,
"-caf-all"
]
$
PackageDistSuspicious
$
"'ghc-options: -fprof*' profiling flags are typically not "
"'ghc-options
/ghc-prof-options
: -fprof*' profiling flags are typically not "
++
"appropriate for a distributed library package. These flags are "
++
"useful to profile this package, but when profiling other packages "
++
"that use this one these flags clutter the profile output with "
...
...
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