Skip to content

Commit

Permalink
(PA-6383) add PIE flags to amazon 2023 platform
Browse files Browse the repository at this point in the history
  • Loading branch information
h0tw1r3 committed Apr 18, 2024
1 parent 71cf748 commit c5df90a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions configs/projects/_shared-compiler-settings.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
(platform.is_el? && platform.os_version.to_i >= 8) ||
platform.is_debian? ||
(platform.is_ubuntu? && platform.os_version.to_i >= 20) ||
(platform.is_amazon? && platform.os_version.to_i >= 2023) ||
platform.is_fedora?
)
proj.setting(:cppflags, "-I#{proj.includedir} -D_FORTIFY_SOURCE=2")
Expand Down

0 comments on commit c5df90a

Please sign in to comment.