Skip to content

Commit

Permalink
(PA-6383) Exclude EL platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
skyamgarp committed Aug 16, 2024
1 parent c3578b9 commit 039caee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions configs/projects/_shared-compiler-settings.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
# are too old to support these flags.

if((platform.is_sles? && platform.os_version.to_i >= 15) ||
(platform.is_el? && platform.os_version.to_i >= 8 && platform.architecture !~ /ppc64/) ||
(platform.is_el? && platform.os_version.to_i == 8 && platform.architecture !~ /ppc64/) ||
(platform.is_debian? && platform.os_version.to_i >= 10) ||
(platform.is_ubuntu? && platform.os_version.to_i >= 20) ||
(platform.is_ubuntu? && platform.os_version.to_i >= 22) ||
platform.is_fedora?
)
proj.setting(:supports_pie, true)
Expand Down

0 comments on commit 039caee

Please sign in to comment.