[packages/gcc/GCC_10] use thumb mode by default on %{armv7}

atler atler at pld-linux.org
Thu Jul 20 14:10:18 CEST 2023


commit b1d23a19cff2040e81edb84650ea9ec113a230b2
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 8affc71..a2d3147 100644
--- a/gcc.spec
+++ b/gcc.spec
@@ -2628,16 +2628,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/b1d23a19cff2040e81edb84650ea9ec113a230b2



More information about the pld-cvs-commit mailing list