]> git.pld-linux.org Git - packages/gcc.git/commitdiff
use thumb mode by default on %{armv7}
authorJan Palus <atler@pld-linux.org>
Tue, 1 Feb 2022 22:08:27 +0000 (23:08 +0100)
committerJan Palus <atler@pld-linux.org>
Thu, 20 Jul 2023 10:09:46 +0000 (12:09 +0200)
gcc.spec

index 8affc719395b61c5c7f631cd9b1b3c3847b51a62..a2d3147964a5b90812c0978cffd1495f863c13dc 100644 (file)
--- 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 \
This page took 0.191837 seconds and 4 git commands to generate.