From db04e724ddea52caefcefaba251affdadf206925 Mon Sep 17 00:00:00 2001 From: eastb233 Date: Fri, 28 May 2021 21:14:28 +0800 Subject: [PATCH] [Build] Optimize building time - gcc.spec: Disable bootstrap to reduce building time --- gcc.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/gcc.spec b/gcc.spec index 174de64..3879bdd 100644 --- a/gcc.spec +++ b/gcc.spec @@ -1,4 +1,4 @@ -%global DATE 20210428 +%global DATE 20210528 %global gcc_version 9.3.1 %global gcc_major 9.3.1 @@ -59,7 +59,7 @@ Summary: Various compilers (C, C++, Objective-C, ...) Name: gcc Version: %{gcc_version} -Release: %{DATE}.19 +Release: %{DATE}.20 License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and LGPLv2+ and BSD URL: https://gcc.gnu.org @@ -868,7 +868,7 @@ CC="$CC" CFLAGS="$OPT_FLAGS" \ --enable-initfini-array --disable-libgcj --without-isl --without-cloog \ --enable-gnu-indirect-function --build=%{gcc_target_platform} \ --with-stage1-ldflags="$OPT_LDFLAGS" \ - --with-boot-ldflags="$OPT_LDFLAGS" \ + --with-boot-ldflags="$OPT_LDFLAGS" --disable-bootstrap \ %ifarch x86_64 --with-tune=generic \ --with-arch_32=x86-64 \ @@ -2732,6 +2732,9 @@ end %doc rpm.doc/changelogs/libcc1/ChangeLog* %changelog +* Fri May 28 2021 eastb233 - 9.3.1-20210528.20 +- gcc.spec: Disable bootstrap to reduce building time + * Wed Apr 28 2021 eastb233 - 9.3.1-20210428.19 - add-fp-model-options.patch: New file - enable-simd-math.patch: Enable simd math library in C and Fortran -- Gitee