Use the same CPP flags as ghc-9.12

This commit is contained in:
Slava Gorbunov
2025-10-31 15:40:36 +03:00
parent c316b3deab
commit 44f1db823f

View File

@@ -863,7 +863,7 @@ stdenv.mkDerivation (
ghc-settings-edit "$settingsFile" \
"JavaScript CPP command" "${toolPath "cc" installCC}"
ghc-settings-edit "$settingsFile" \
"JavaScript CPP flags" "-E"
"JavaScript CPP flags" "-E -CC -Wno-unicode -nostdinc"
''
+ ''