From 7f50c49d6e332b5632ab0da43567c9b921e33bc5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E9=B9=8F?= Date: Mon, 18 Mar 2024 14:26:36 +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 59f48f5..1a36653 100644 --- a/gcc.spec +++ b/gcc.spec @@ -61,7 +61,7 @@ Summary: Various compilers (C, C++, Objective-C, ...) Name: gcc Version: %{gcc_version} -Release: 21 +Release: 22 License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and LGPLv2+ and BSD URL: https://gcc.gnu.org @@ -784,6 +784,11 @@ CC="$CC" CFLAGS="$OPT_FLAGS" \ --disable-libquadmath --disable-multilib --enable-tls \ --enable-default-pie %endif +%ifarch ppc64le + --disable-multilib \ + --enable-targets=powerpcle-linux \ + --with-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 @@ -2676,6 +2681,12 @@ end %doc rpm.doc/changelogs/libcc1/ChangeLog* %changelog +* Mon Mar 18 2024 peng.zou - 10.3.1-22 +- Type: SPEC +- ID:NA +- SUG:NA +- DESC: Set default configuration for the ppc64le + * Tue Jan 30 2024 Peng Fan - 10.3.1-21 - Type:Sync bugfix - ID:NA -- Gitee