Skip to content

Commit 686173c

Browse files
committed
Downgrade the severity of the '-main-is' ghc-options check.
1 parent e7a557c commit 686173c

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
@@ -801,7 +801,7 @@ checkGhcOptions pkg =
801801
"'ghc-options: --make' is never needed. Cabal uses this automatically."
802802

803803
, checkFlags ["-main-is"] $
804-
PackageDistSuspicious $
804+
PackageDistSuspiciousWarn $
805805
"'ghc-options: -main-is' is not portable."
806806

807807
, checkNonTestAndBenchmarkFlags ["-O0", "-Onot"] $

0 commit comments

Comments
 (0)