Skip to content

Commit

Permalink
Try icf=safe (#12524)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jarred-Sumner authored Jul 12, 2024
1 parent 7d9b876 commit 36fd311
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1161,6 +1161,7 @@ else()
-fno-rtti
-fno-omit-frame-pointer
-mno-omit-leaf-frame-pointer
-faddrsig
)
endif()

Expand All @@ -1180,6 +1181,7 @@ if(UNIX AND NOT APPLE)
"-static-libstdc++"
"-static-libgcc"
"-Wl,-z,now"
"-Wl,-icf=safe"
"-Wl,--as-needed"
"-Wl,--gc-sections"
"-Wl,-z,stack-size=12800000"
Expand Down

0 comments on commit 36fd311

Please sign in to comment.