[packages/gcc/GCC_10] add default params for more arm[67] platforms
atler
atler at pld-linux.org
Thu Jul 20 14:10:08 CEST 2023
commit c86abbd387a053b8110b061314c9a7ec0246cef3
Author: Jan Palus <atler at pld-linux.org>
Date: Sun Jun 13 10:28:26 2021 +0000
add default params for more arm[67] platforms
gcc.spec | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
---
diff --git a/gcc.spec b/gcc.spec
index 4af0408..4068b2c 100644
--- a/gcc.spec
+++ b/gcc.spec
@@ -2618,11 +2618,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 \
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/gcc.git/commitdiff/b1d23a19cff2040e81edb84650ea9ec113a230b2
More information about the pld-cvs-commit
mailing list