diff options
-rw-r--r-- | arm-linux-gnueabi-toolchain/arm-linux-gnueabi-gcc/arm-linux-gnueabi-gcc.spec | 28 |
1 files changed, 10 insertions, 18 deletions
diff --git a/arm-linux-gnueabi-toolchain/arm-linux-gnueabi-gcc/arm-linux-gnueabi-gcc.spec b/arm-linux-gnueabi-toolchain/arm-linux-gnueabi-gcc/arm-linux-gnueabi-gcc.spec index 9acfd84..d9db631 100644 --- a/arm-linux-gnueabi-toolchain/arm-linux-gnueabi-gcc/arm-linux-gnueabi-gcc.spec +++ b/arm-linux-gnueabi-toolchain/arm-linux-gnueabi-gcc/arm-linux-gnueabi-gcc.spec @@ -28,26 +28,16 @@ %bcond_without ada -%global date 20190501 -%global svnrev 270762 - Name: %{cross_triplet}-gcc%{pkg_suffix} -Version: 9.0.1 -Release: 1.%{date}svn%{svnrev}%{?dist} +Version: 9.1.0 +Release: 1%{?dist} Summary: The GNU Compiler Collection (%{cross_triplet}) %global major_version %(echo %{version} | sed 's/\\..*$//') License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and LGPLv2+ and BSD URL: https://gcc.gnu.org - -# Uncomment this line when GCC 9 is released. -# Source0: https://ftp.gnu.org/gnu/gcc/gcc-%{version}/gcc-%{version}.tar.xz -# -# Temporarily switch to svn snapshot. The source tarball is generated by: -# svn export https://gcc.gnu.org/svn/gcc/branches/gcc-9-branch@%%{svnrev} gcc-%%{version}-%%{date} -# tar -cf - gcc-%%{version}-%%{date} | xz -9e > gcc-%%{version}-%%{date}.tar.xz -Source0: gcc-%{version}-%{date}.tar.xz +Source0: https://ftp.gnu.org/gnu/gcc/gcc-%{version}/gcc-%{version}.tar.xz BuildRequires: gcc, gcc-c++, gcc-gnat BuildRequires: texinfo, gettext, flex, bison, zlib-devel, isl-devel @@ -83,11 +73,10 @@ Provides: %{cross_triplet}-gcc-stage3 = %{version} %prep -%autosetup -p1 -Tb 0 -n gcc-%{version}-%{date} +%autosetup -p1 -Tb 0 -n gcc-%{version} %build -./contrib/gcc_update --touch mkdir -p %{_builddir}/gcc-build cd %{_builddir}/gcc-build export AR_FOR_TARGET=%{_bindir}/%{cross_triplet}-ar @@ -100,7 +89,7 @@ export RANLIB_FOR_TARGET=%{_bindir}/%{cross_triplet}-ranlib export STRIP_FOR_TARGET=%{_bindir}/%{cross_triplet}-strip export WINDRES_FOR_TARGET=%{_bindir}/%{cross_triplet}-windres export WINDMC_FOR_TARGET=%{_bindir}/%{cross_triplet}-windmc -%global _configure ../gcc-%{version}-%{date}/configure +%global _configure ../gcc-%{version}/configure %global _program_prefix %{cross_triplet}- %global _hardening_ldflags \\\ %(echo "%{_hardening_ldflags}" | sed -e 's/-specs=[^ ]*//g') @@ -216,7 +205,7 @@ rm -f %{buildroot}%{_libexecdir}/gcc/%{cross_triplet}/%{major_version}/install-t rmdir --ignore-fail-on-non-empty %{buildroot}%{_libexecdir}/gcc/%{cross_triplet}/%{major_version}/install-tools # Don't strip libgcc.a and libgcov.a - based on Fedora Project cross-gcc.spec -%global __ar_no_strip $RPM_BUILD_DIR/gcc-%{version}-%{date}/ar-no-strip +%global __ar_no_strip $RPM_BUILD_DIR/gcc-%{version}/ar-no-strip cat > %{__ar_no_strip} << EOF #!/bin/sh f=\$2 @@ -235,7 +224,7 @@ chmod +x %{__ar_no_strip} %files %license COPYING COPYING.LIB COPYING.RUNTIME COPYING3 COPYING3.LIB -%doc ChangeLog ChangeLog.jit ChangeLog.tree-ssa MAINTAINERS README +%doc ChangeLog ChangeLog.jit ChangeLog.tree-ssa MAINTAINERS NEWS README %{_bindir}/%{cross_triplet}-cpp %{_bindir}/%{cross_triplet}-gcc %{_bindir}/%{cross_triplet}-gcc-ar @@ -389,6 +378,9 @@ chmod +x %{__ar_no_strip} %changelog +* Fri May 03 2019 Ting-Wei Lan <lantw44@gmail.com> - 9.1.0-1 +- Update to new stable release 9.1.0 + * Wed May 01 2019 Ting-Wei Lan <lantw44@gmail.com> - 9.0.1-1.20190501svn270762 - Update to GCC 9 snapshot for Fedora 30 - Enable D support |