]> git.pld-linux.org Git - packages/gcc.git/commitdiff
add default options for armv6hl
authorJan Palus <atler@pld-linux.org>
Mon, 16 Nov 2020 12:57:11 +0000 (13:57 +0100)
committerJan Palus <atler@pld-linux.org>
Mon, 16 Nov 2020 12:57:11 +0000 (13:57 +0100)
enforcing them through CPPFLAGS/CFLAGS borders with impossible

gcc.spec

index 7e97c552c7aa19d1ae3950961211441e53909cbd..9527f17d4ff05e80b4926b6de5c5a26ce1e9a0a6 100644 (file)
--- 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 \
This page took 0.060118 seconds and 4 git commands to generate.