[Build] Optimize building time
- gcc.spec: Disable bootstrap to reduce building time
This commit is contained in:
parent
5998f6e6a7
commit
db04e724dd
9
gcc.spec
9
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 <xiezhiheng@huawei.com> - 9.3.1-20210528.20
|
||||
- gcc.spec: Disable bootstrap to reduce building time
|
||||
|
||||
* Wed Apr 28 2021 eastb233 <xiezhiheng@huawei.com> - 9.3.1-20210428.19
|
||||
- add-fp-model-options.patch: New file
|
||||
- enable-simd-math.patch: Enable simd math library in C and Fortran
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user