[packages/gcc] use thumb mode by default on %{armv7}
atler
atler at pld-linux.org
Tue Feb 1 23:09:25 CET 2022
commit 32324f181a8264ee3c65974a57c89a5157e98f45
Author: Jan Palus <atler at pld-linux.org>
Date: Tue Feb 1 23:08:27 2022 +0100
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 \
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/gcc.git/commitdiff/32324f181a8264ee3c65974a57c89a5157e98f45
More information about the pld-cvs-commit
mailing list