Fix the annocheck 'hardened' test in aarch64
This commit is contained in:
parent
60ec20c8dd
commit
d5d5f4c8f7
@ -56,6 +56,11 @@ developing applications that use %{name}.
|
||||
|
||||
|
||||
%build
|
||||
%ifarch aarch64
|
||||
export CFLAGS="%{optflags} -mbranch-protection=standard -Wp,-D_FORTIFY_SOURCE=2"
|
||||
export CXXFLAGS=$CFLAGS
|
||||
%endif
|
||||
|
||||
%cmake3 -GNinja -DCMAKE_BUILD_TYPE=Release
|
||||
%cmake_build
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user