Commit b570642d authored by accraze's avatar accraze
Browse files

adding ghc-prof-options to fprof warning

fixes #3718
parent d23c5948
......@@ -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 "
Markdown is supported
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