Compare commits

...
Sign in to create a new pull request.

1 commit

Author SHA1 Message Date
Michal Hlavinka
6956eebb19 updated to 9.2.0 2019-08-21 16:12:04 +02:00
3 changed files with 10 additions and 6 deletions

1
.gitignore vendored
View file

@ -9,3 +9,4 @@
/gcc-7.1.0.tar.bz2
/gcc-7.3.0.tar.xz
/gcc-7.4.0.tar.xz
/gcc-9.2.0.tar.xz

View file

@ -1,7 +1,7 @@
%global processor_arch arm
%global target %{processor_arch}-none-eabi
%global gcc_ver 7.4.0
%global gcc_short_ver 7.4
%global gcc_ver 9.2.0
%global gcc_short_ver 9.2
# we need newlib to compile complete gcc, but we need gcc to compile newlib,
# so compile minimal gcc first
@ -10,7 +10,7 @@
Name: %{target}-gcc-cs
Epoch: 1
Version: %{gcc_ver}
Release: 2%{?dist}
Release: 1%{?dist}
Summary: GNU GCC for cross-compilation for %{target} target
# Most of the sources are licensed under GPLv3+ with these exceptions:
@ -119,7 +119,7 @@ CC="%{__cc} ${RPM_OPT_FLAGS} -fno-stack-protector" \
%if %{bootstrap}
make all-gcc INHIBIT_LIBC_CFLAGS='-DUSE_TM_CLONE_REGISTRY=0'
%else
make INHIBIT_LIBC_CFLAGS='-DUSE_TM_CLONE_REGISTRY=0'
make %{_smp_mflags} INHIBIT_LIBC_CFLAGS='-DUSE_TM_CLONE_REGISTRY=0'
%endif
popd
@ -155,7 +155,7 @@ CC="%{__cc} ${RPM_OPT_FLAGS} -fno-stack-protector " \
--disable-tls \
--with-sysroot=/usr/%{target} \
--enable-languages=c,c++ --with-newlib --disable-nls --disable-shared --disable-threads --with-gnu-as --with-gnu-ld --with-gmp --with-mpfr --with-mpc --with-headers=yes --with-system-zlib
make INHIBIT_LIBC_CFLAGS='-DUSE_TM_CLONE_REGISTRY=0'
make %{_smp_mflags} INHIBIT_LIBC_CFLAGS='-DUSE_TM_CLONE_REGISTRY=0'
popd
%endif
@ -280,6 +280,9 @@ popd
%endif
%changelog
* Wed Aug 21 2019 Michal Hlavinka <mhlavink@redhat.com> - 1:9.2.0-1
- updated to 9.2.0
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:7.4.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild

View file

@ -1 +1 @@
SHA512 (gcc-7.4.0.tar.xz) = 8864d8e4b97c2e1a4f17422f6e68120172ebefeab97b1757734f7185ca68a6b9a89011c6833c03fa454c17b0ac35b15e1d284881e6971035948ac6100f3aa45e
SHA512 (gcc-9.2.0.tar.xz) = a12dff52af876aee0fd89a8d09cdc455f35ec46845e154023202392adc164848faf8ee881b59b681b696e27c69fd143a214014db4214db62f9891a1c8365c040