[packages/gcc] add default params for more arm[67] platforms

atler atler at pld-linux.org
Sun Jun 13 12:34:50 CEST 2021


commit b12773351d257ef7ed72c2052b23c34b8cb6c753
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 365e89f..3420686 100644
--- 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 \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gcc.git/commitdiff/b12773351d257ef7ed72c2052b23c34b8cb6c753



More information about the pld-cvs-commit mailing list