[packages/gcc] add default options for armv6hl

atler atler at pld-linux.org
Mon Nov 16 13:59:50 CET 2020


commit d44d49694707da750135d6a0c47313afb5a7cccb
Author: Jan Palus <atler at pld-linux.org>
Date:   Mon Nov 16 13:57:11 2020 +0100

    add default options for armv6hl
    
    enforcing them through CPPFLAGS/CFLAGS borders with impossible

 gcc.spec | 5 +++++
 1 file changed, 5 insertions(+)
---
diff --git a/gcc.spec b/gcc.spec
index 7e97c55..9527f17 100644
--- a/gcc.spec
+++ b/gcc.spec
@@ -2620,6 +2620,11 @@ TEXCONFIG=false \
 %endif
 	--with-system-zlib \
 	--without-x \
+%ifarch armv6hl
+	--with-arch=armv6 \
+	--with-float=hard \
+	--with-fpu=vfp \
+%endif
 %if %{with cxx}
 	--enable-__cxa_atexit \
 	--enable-libstdcxx-allocator=new \
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list