Skip to content

Commit

Permalink
Payload: Compile with -fno-threadsafe-statics
Browse files Browse the repository at this point in the history
  • Loading branch information
mkwcat committed Oct 21, 2024
1 parent 958c226 commit a71c628
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion payload/make-payload.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def build(game):
if key != "Title":
flags.append("-D" + key + "=" + value)

flags += ["-g", "-Os", "-fPIE", "-std=c++20", '-Wall', '-Werror', "-Wsuggest-override", "-n", "-fno-rtti", "-fno-exceptions", "-fno-sized-deallocation", "-ffunction-sections", "-fdata-sections", "-fshort-wchar", "-Wl,--gc-sections", "-Wno-address-of-packed-member"]
flags += ["-g", "-Os", "-fPIE", "-std=c++20", '-Wall', '-Werror', "-Wsuggest-override", "-n", "-fno-rtti", "-fno-exceptions", "-fno-sized-deallocation", "-ffunction-sections", "-fdata-sections", "-fshort-wchar", "-Wl,--gc-sections", "-Wno-address-of-packed-member", "-fno-threadsafe-statics"]
flags += extra_build_flags

out_path = os.path.join("build", game["Title"])
Expand Down

0 comments on commit a71c628

Please sign in to comment.