Compare commits

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

2 commits

Author SHA1 Message Date
Michal Hlavinka
79ea1a9440 updated to 9.2.0 2019-08-21 16:12:37 +02:00
Michal Hlavinka
9ab985514f updated to 7.4.0 2019-03-01 11:25:50 +01:00
3 changed files with 22 additions and 15 deletions

2
.gitignore vendored
View file

@ -8,3 +8,5 @@
/gcc-6.2.0.tar.bz2
/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.3.0
%global gcc_short_ver 7.3
%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,9 +10,8 @@
Name: %{target}-gcc-cs
Epoch: 1
Version: %{gcc_ver}
Release: 2%{?dist}
Release: 1%{?dist}
Summary: GNU GCC for cross-compilation for %{target} target
Group: Development/Tools
# Most of the sources are licensed under GPLv3+ with these exceptions:
# LGPLv2+ libquadmath/ libjava/libltdl/ gcc/testsuite/objc.dg/gnu-encoding/generate-random
@ -25,7 +24,7 @@ Group: Development/Tools
# libjava/classpath/external/sax/org/xml/sax/ext/DeclHandler.java
# BSL zlib/contrib/dotzlib/DotZLib/GZipStream.cs
License: GPLv2+ and GPLv3+ and LGPLv2+ and BSD
URL: http://www.codesourcery.com/sgpp/lite/%{processor_arch}
URL: https://gcc.gnu.org/
Source0: gcc-%{gcc_ver}.tar.xz
@ -45,13 +44,8 @@ This is a Cross Compiling version of GNU GCC, which can be used to
compile for the %{target} platform, instead of for the
native %{_arch} platform.
This package is based on the CodeSourcery %{cs_date}-%{cs_rel} release,
which includes improved ARM target support compared to the corresponding
GNU GCC release.
%package c++
Summary: Cross Compiling GNU GCC targeted at %{target}
Group: Development/Languages
Requires: %{name} = %{epoch}:%{version}-%{release}
Provides: %{target}-gcc-c++ = %{gcc_ver}
@ -125,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
@ -161,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
@ -258,7 +252,7 @@ make check
popd
%files
%doc gcc-%{gcc_ver}/COPYING*
%license gcc-%{gcc_ver}/COPYING*
%doc gcc-%{gcc_ver}/README README.fedora
%{_bindir}/%{target}-*
%dir %{_prefix}/lib/gcc
@ -286,12 +280,23 @@ 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
* Wed Feb 27 2019 Michal Hlavinka <mhlavink@redhat.com> - 1:7.4.0-1
- updated to 7.4.0
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:7.3.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:7.3.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Mon Jul 09 2018 Michal Hlavinka <mhlavink@redhat.com> - 1:7.3.0-1
- updated to 7.3.0
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:7.1.0-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild

View file

@ -1 +1 @@
SHA512 (gcc-7.3.0.tar.xz) = ad41a7e4584e40e92cdf860bc0288500fbaf5dfb7e8c3fcabe9eba809c87bcfa85b46c19c19921b0cdf6d05483faede8287bb9ea120c0d1559449a70e602c8d4
SHA512 (gcc-9.2.0.tar.xz) = a12dff52af876aee0fd89a8d09cdc455f35ec46845e154023202392adc164848faf8ee881b59b681b696e27c69fd143a214014db4214db62f9891a1c8365c040