diff --git a/sqlite.spec b/sqlite.spec index c0b8c25..218afec 100644 --- a/sqlite.spec +++ b/sqlite.spec @@ -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 \