Skip to content

Is there a schortcut for %ifarch? #3141

Answered by mlschroe
voxik asked this question in Q&A
Discussion options

You must be logged in to vote

I would do something like this:

%define arch_fortification_checks_x86_64  fortified="11" fortify-able="28"
%define arch_fortification_checks_i686    fortified="11" fortify-able="28"
%define arch_fortification_checks_aarch64 fortified="10" fortify-able="26"
%define arch_fortification_checks_ppc64le fortified="7"  fortify-able="24"
%define arch_fortification_checks_s390x   fortified="10" fortify-able="24"

%global arch_fortification_checks %%arch_fortification_checks_%_target_cpu

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@voxik
Comment options

Answer selected by voxik
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants