]> 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>
Tue, 1 Feb 2022 22:09:09 +0000 (23:09 +0100)
gcc.spec

index d399fafa89e2d018b62a3a4a1c395e7d6d86344c..fa9573f4725f1b67cfceeb3f7127199ccb9d298a 100644 (file)
--- 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 \
This page took 0.219515 seconds and 4 git commands to generate.