From 22381869b45430a230637cd255d913a02e2432f4 Mon Sep 17 00:00:00 2001 From: chenyuanfeng Date: Wed, 29 May 2024 16:59:49 +0800 Subject: [PATCH] set default configuration for the ppc64le --- gcc.spec | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/gcc.spec b/gcc.spec index 4355aa3..80a045f 100644 --- a/gcc.spec +++ b/gcc.spec @@ -61,7 +61,7 @@ Summary: Various compilers (C, C++, Objective-C, ...) Name: gcc Version: %{gcc_version} -Release: 53 +Release: 54 License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and LGPLv2+ and BSD URL: https://gcc.gnu.org @@ -1026,6 +1026,11 @@ CC="$CC" CFLAGS="$OPT_FLAGS" \ --with-arch=rv64g --with-abi=lp64d \ --disable-libquadmath --disable-multilib %endif +%ifarch ppc64le + --disable-multilib \ + --enable-targets=powerpcle-linux \ + --withc-cpu-32=power8 --with-tune-32=power8 --with-cpu-64=power8 --with-tune-64=power8 \ +%endif %ifarch sparc sparcv9 sparc64 make %{?_smp_mflags} BOOT_CFLAGS="$OPT_FLAGS" bootstrap @@ -2968,6 +2973,12 @@ end %doc rpm.doc/changelogs/libcc1/ChangeLog* %changelog +* Thu Mar 14 2024 chenyuanfeng - 10.3.1-54 +- Type: Spec +- ID:NA +- SUG:NA +- DESC: Set default configuration for the ppc64le + * Mon Apr 15 2024 huyubiao - 10.3.1-53 - Type:SPEC - ID:NA