Skip to content

Commit

Permalink
Disable some compiler flags
Browse files Browse the repository at this point in the history
  • Loading branch information
tridelat committed Feb 11, 2020
1 parent d61773d commit 3b54ff8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
if type(value) == str:
cfg_vars[key] = cfg_vars[key].replace("-Wstrict-prototypes", "")
cfg_vars[key] = cfg_vars[key].replace("-Wall", "-w")
cfg_vars[key] = cfg_vars[key].replace("-Wl, -O3", "")
cfg_vars[key] = cfg_vars[key].replace("-Wl, -O2", "")
cfg_vars[key] = cfg_vars[key].replace("-O3", "")
cfg_vars[key] = cfg_vars[key].replace("-O2", "")
cfg_vars[key] = cfg_vars[key].replace("-DNDEBUG", "-UNDEBUG")
Expand Down

0 comments on commit 3b54ff8

Please sign in to comment.