diff --git a/gcc.spec b/gcc.spec index b6c6584f1e4e595be7b5aa928025d63c8f82547b..2a6ce5acdc8e07d75984470da8471f8c70f0b20d 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