From b5b89115ae31a4e6aa1d325a2d2c530608783efb Mon Sep 17 00:00:00 2001 From: huyubiao Date: Mon, 15 Apr 2024 15:38:16 +0800 Subject: [PATCH] disable isl --- gcc.spec | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/gcc.spec b/gcc.spec index 40dbe02..49207d9 100644 --- a/gcc.spec +++ b/gcc.spec @@ -46,7 +46,7 @@ %else %global build_libitm 0 %endif -%global build_isl 1 +%global build_isl 0 %global build_libstdcxx_docs 0 %ifarch %{ix86} x86_64 ppc ppc64 ppc64le ppc64p7 s390 s390x %{arm} aarch64 %{mips} %global attr_ifunc 1 @@ -61,7 +61,7 @@ Summary: Various compilers (C, C++, Objective-C, ...) Name: gcc Version: %{gcc_version} -Release: 40 +Release: 41 License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and LGPLv2+ and BSD URL: https://gcc.gnu.org @@ -908,10 +908,15 @@ CC="$CC" CFLAGS="$OPT_FLAGS" \ --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions \ --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=gnu \ --enable-languages=c,c++,fortran${enablelobjc}${enablelada}${enablelgo}${enableld},lto --enable-plugin \ - --enable-initfini-array --disable-libgcj --with-isl --without-cloog \ + --enable-initfini-array --disable-libgcj --without-cloog \ --enable-gnu-indirect-function --build=%{gcc_target_platform} \ --with-stage1-ldflags="$OPT_LDFLAGS" \ --with-boot-ldflags="$OPT_LDFLAGS" --disable-bootstrap \ +%if %{build_isl} + --with-isl \ +%else + --without-isl \ +%endif %ifarch x86_64 --with-tune=generic \ --with-arch_32=x86-64 \ @@ -2872,6 +2877,12 @@ end %doc rpm.doc/changelogs/libcc1/ChangeLog* %changelog +* Mon Apr 15 2024 huyubiao - 10.3.1-41 +- Type:SPEC +- ID:NA +- SUG:NA +- DESC:disable isl + * Thu Mar 14 2024 chenyuanfeng - 10.3.1-40 - Type: Spec - ID:NA -- Gitee