We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 345ccc9 commit ebaaea1Copy full SHA for ebaaea1
src/main/Main.hs
@@ -764,7 +764,7 @@ buildCmd :: BuildOpts -> GlobalOpts -> IO ()
764
buildCmd opts go = do
765
when (any (("-prof" `elem`) . either (const []) id . parseArgs Escaping) (boptsGhcOptions opts)) $ do
766
hPutStrLn stderr "When building with stack, you should not use the -prof GHC option"
767
- hPutStrLn stderr "Instead, please use --enable-library-profiling and --enable-executable-profiling"
+ hPutStrLn stderr "Instead, please use --library-profiling and --executable-profiling"
768
hPutStrLn stderr "See: https://github.com/commercialhaskell/stack/issues/1015"
769
error "-prof GHC option submitted"
770
case boptsFileWatch opts of
0 commit comments