Skip to content

Commit ec368be

Browse files
committed
Fix Mypyc not compiling on Arch Linux:
Closes mypyc/mypyc#956 This was originally a part of python#13953, see python#13953 (comment)
1 parent 8c69124 commit ec368be

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

mypyc/build.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -534,6 +534,8 @@ def mypycify(
534534
"-Wno-unused-command-line-argument",
535535
"-Wno-unknown-warning-option",
536536
"-Wno-unused-but-set-variable",
537+
"-Wno-cpp",
538+
"-Wno-ignored-optimization-argument",
537539
]
538540
elif compiler.compiler_type == "msvc":
539541
# msvc doesn't have levels, '/O2' is full and '/Od' is disable

0 commit comments

Comments
 (0)