Commit bc592078 authored by Andy Craze's avatar Andy Craze Committed by GitHub
Browse files

Merge pull request #4171 from accraze/check-fprof-warn

adding ghc-prof-options to fprof warning
parents 9b26032e b570642d
...@@ -1539,7 +1539,7 @@ checkDevelopmentOnlyFlagsBuildInfo bi = ...@@ -1539,7 +1539,7 @@ checkDevelopmentOnlyFlagsBuildInfo bi =
"-fprof-cafs", "-fno-prof-count-entries", "-fprof-cafs", "-fno-prof-count-entries",
"-auto-all", "-auto", "-caf-all"] $ "-auto-all", "-auto", "-caf-all"] $
PackageDistSuspicious $ 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 " ++ "appropriate for a distributed library package. These flags are "
++ "useful to profile this package, but when profiling other packages " ++ "useful to profile this package, but when profiling other packages "
++ "that use this one these flags clutter the profile output with " ++ "that use this one these flags clutter the profile output with "
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment