commit b1d23a19cff2040e81edb84650ea9ec113a230b2
Author: Jan Palus <[email protected]>
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

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to