Skip to content

Commit

Permalink
Forgot the - for -Wno, thanks Will W :)
Browse files Browse the repository at this point in the history
  • Loading branch information
Carson Harmon committed Jul 20, 2020
1 parent ad3c46e commit 6bdcf5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion polybuild/polybuild.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ def poly_build(self, argv) -> bool:
compile_command.append("-I" + self.meta.compiler_dir + "/../cxx_libs/include/c++/v1/")
compile_command.append("-L" + self.meta.compiler_dir + "/../cxx_libs/lib/")
for arg in argv[1:]:
if arg == "-Wall" or arg == "-Wextra" or arg == "Wno-unused-parameter" or arg == "-Werror":
if arg == "-Wall" or arg == "-Wextra" or arg == "-Wno-unused-parameter" or arg == "-Werror":
continue
compile_command.append(arg)
is_linking = self.poly_is_linking(argv)
Expand Down

0 comments on commit 6bdcf5c

Please sign in to comment.