Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
snnn committed Jan 10, 2024
1 parent e42ed89 commit ad49d05
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tools/ci_build/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -1507,9 +1507,10 @@ def generate_build_tree(
"-Wp,-D_GLIBCXX_ASSERTIONS",
"-fstack-protector-strong",
"-O3",
"-pipe",
"-Wl,--strip-all",
"-pipe"
]
if is_linux():
ldflags += "-Wl,--strip-all"
elif config == "RelWithDebInfo":
cflags = [
"-DNDEBUG",
Expand Down

0 comments on commit ad49d05

Please sign in to comment.