add flag -mbranch-protection=standard for aarch64
added because of rpminspect check, which failed with: FAIL: branch-protection test because the -mbranch-protection option was not used
This commit is contained in:
parent
0f684764a1
commit
f45efa0be6
@ -163,6 +163,10 @@ export CFLAGS="$RPM_OPT_FLAGS $RPM_LD_FLAGS \
|
||||
-DSQLITE_ENABLE_DBPAGE_VTAB \
|
||||
-Wall -fno-strict-aliasing"
|
||||
|
||||
%ifarch == aarch64
|
||||
export CFLAGS="$CFLAGS -mbranch-protection=standard"
|
||||
%endif
|
||||
|
||||
%configure %{!?with_tcl:--disable-tcl} \
|
||||
--enable-rtree \
|
||||
--enable-json1 \
|
||||
|
Loading…
Reference in New Issue
Block a user