Skip to content

Commit

Permalink
Fix Mypyc not compiling on Arch Linux (#13978)
Browse files Browse the repository at this point in the history
Closes mypyc/mypyc#956

This was originally a part of #13953, see
#13953 (comment)
  • Loading branch information
dosisod authored Nov 3, 2022
1 parent 451ae0e commit bc78eb5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions mypyc/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -534,6 +534,10 @@ def mypycify(
"-Wno-unused-command-line-argument",
"-Wno-unknown-warning-option",
"-Wno-unused-but-set-variable",
"-Wno-ignored-optimization-argument",
# Disables C Preprocessor (cpp) warnings
# See https://github.com/mypyc/mypyc/issues/956
"-Wno-cpp",
]
elif compiler.compiler_type == "msvc":
# msvc doesn't have levels, '/O2' is full and '/Od' is disable
Expand Down

0 comments on commit bc78eb5

Please sign in to comment.