]> git.pld-linux.org Git - packages/gcc.git/commitdiff
add default params for more arm[67] platforms
authorJan Palus <atler@pld-linux.org>
Sun, 13 Jun 2021 10:28:26 +0000 (10:28 +0000)
committerJan Palus <atler@pld-linux.org>
Sun, 13 Jun 2021 10:34:18 +0000 (10:34 +0000)
gcc.spec

index 365e89ffc1cca44c565799dcec38def782dfa03f..3420686dd35bc9241aaec8ab236bbe0caebbf8e8 100644 (file)
--- a/gcc.spec
+++ b/gcc.spec
@@ -2668,11 +2668,27 @@ TEXCONFIG=false \
 %endif
        --with-system-zlib \
        --without-x \
+%ifarch armv6l
+       --with-arch=armv6 \
+%endif
 %ifarch armv6hl
        --with-arch=armv6 \
        --with-float=hard \
        --with-fpu=vfp \
 %endif
+%ifarch armv7l
+       --with-arch=armv7 \
+%endif
+%ifarch armv7hl
+       --with-arch=armv7-a \
+       --with-float=hard \
+       --with-fpu=vfpv3-d16 \
+%endif
+%ifarch armv7hnl
+       --with-arch=armv7-a \
+       --with-float=hard \
+       --with-fpu=neon-vfpv4 \
+%endif
 %if %{with cxx}
        --enable-__cxa_atexit \
        --enable-libstdcxx-allocator=new \
This page took 0.122525 seconds and 4 git commands to generate.