Skip to content

Commit c69dfb8

Browse files
committed
update -prof Check message
The flag enable-executable-profiling warns to change it to just enable-profiling. So we'll fix that here too so we don't send people down an old path.
1 parent b8c25f0 commit c69dfb8

File tree

1 file changed

+1
-1
lines changed
  • Cabal/Distribution/PackageDescription

1 file changed

+1
-1
lines changed

Cabal/Distribution/PackageDescription/Check.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -624,7 +624,7 @@ checkGhcOptions pkg =
624624
PackageBuildWarning $
625625
"'ghc-options: -prof' is not necessary and will lead to problems "
626626
++ "when used on a library. Use the configure flag "
627-
++ "--enable-library-profiling and/or --enable-executable-profiling."
627+
++ "--enable-library-profiling and/or --enable-profiling."
628628

629629
, checkFlags ["-o"] $
630630
PackageBuildWarning $

0 commit comments

Comments
 (0)