Skip to content

Commit

Permalink
Workaround lack of dead code elimination
Browse files Browse the repository at this point in the history
  • Loading branch information
Sainan committed Nov 26, 2024
1 parent b0ababb commit b21393d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Sun/vendor/Soup/soup/Compiler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ NAMESPACE_SOUP
#if SOUP_WINDOWS
"-D_CRT_SECURE_NO_WARNINGS",
#endif
"-ffunction-sections", "-fdata-sections", // needed for dead code elimination
"-std="
};
args.back().append(lang);
Expand Down

0 comments on commit b21393d

Please sign in to comment.