From 32324f181a8264ee3c65974a57c89a5157e98f45 Mon Sep 17 00:00:00 2001 From: Jan Palus Date: Tue, 1 Feb 2022 23:08:27 +0100 Subject: [PATCH] use thumb mode by default on %{armv7} --- gcc.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gcc.spec b/gcc.spec index d399faf..fa9573f 100644 --- a/gcc.spec +++ b/gcc.spec @@ -2678,16 +2678,19 @@ TEXCONFIG=false \ %endif %ifarch armv7l --with-arch=armv7 \ + --with-mode=thumb \ %endif %ifarch armv7hl --with-arch=armv7-a \ --with-float=hard \ --with-fpu=vfpv3-d16 \ + --with-mode=thumb \ %endif %ifarch armv7hnl --with-arch=armv7-a \ --with-float=hard \ --with-fpu=neon-vfpv3 \ + --with-mode=thumb \ %endif %if %{with cxx} --enable-__cxa_atexit \ -- 2.44.0