From 2a2a8e0017d817439532400d5c24f7bbe701b9f6 Mon Sep 17 00:00:00 2001 From: chenyuanfeng Date: Thu, 14 Mar 2024 11:28:40 +0800 Subject: [PATCH] set default configuration for the ppc64le --- gcc.spec | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/gcc.spec b/gcc.spec index b6c6584..2a6ce5a 100644 --- a/gcc.spec +++ b/gcc.spec @@ -2,7 +2,7 @@ %global gcc_major 12 # Note, gcc_release must be integer, if you want to add suffixes to # %%{release}, append them after %%{gcc_release} on Release: line. -%global gcc_release 17 +%global gcc_release 18 %global _unpackaged_files_terminate_build 0 %global _performance_build 1 @@ -760,6 +760,10 @@ CONFIGURE_OPTS="\ %endif %ifnarch sparc sparcv9 ppc --build=%{gcc_target_platform} \ +%endif +%ifarch ppc64le + --enable-targets=powerpcle-linux \ + --with-cpu-32=power8 --with-tune-32=power8 --with-cpu-64=power8 --with-tune-64=power8 \ %endif " @@ -2888,6 +2892,10 @@ end %doc rpm.doc/changelogs/libcc1/ChangeLog* %changelog +* Thu Mar 14 2024 chenyuanfeng - 12.3.1-18 +- Type: SPEC +- DESC: set default configuration for the ppc64le + * Mon Jan 15 2024 laokz 12.3.1-17 - Type: SPEC - DESC: riscv64 -march default to rv64gc -- Gitee