|
|
|
@ -107,10 +107,10 @@
@@ -107,10 +107,10 @@
|
|
|
|
|
%ifarch sparc64 |
|
|
|
|
%global multilib_32_arch sparcv9 |
|
|
|
|
%endif |
|
|
|
|
%ifarch ppc64 ppc64p7 |
|
|
|
|
%ifarch ppc64p7 |
|
|
|
|
%global multilib_32_arch ppc |
|
|
|
|
%endif |
|
|
|
|
%ifarch x86_64 |
|
|
|
|
%ifarch i686 |
|
|
|
|
%global multilib_32_arch i686 |
|
|
|
|
%endif |
|
|
|
|
Summary: Various compilers (C, C++, Objective-C, ...) |
|
|
|
@ -1041,7 +1041,7 @@ CONFIGURE_OPTS="\
@@ -1041,7 +1041,7 @@ CONFIGURE_OPTS="\
|
|
|
|
|
%ifarch sparc sparcv9 |
|
|
|
|
--host=%{gcc_target_platform} --build=%{gcc_target_platform} --target=%{gcc_target_platform} --with-cpu=v7 |
|
|
|
|
%endif |
|
|
|
|
%ifarch ppc ppc64 ppc64p7 |
|
|
|
|
%ifarch ppc ppc64p7 |
|
|
|
|
%if 0%{?rhel} >= 7 |
|
|
|
|
--with-cpu-32=power7 --with-tune-32=power7 --with-cpu-64=power7 --with-tune-64=power7 \ |
|
|
|
|
%endif |
|
|
|
@ -1049,6 +1049,13 @@ CONFIGURE_OPTS="\
@@ -1049,6 +1049,13 @@ CONFIGURE_OPTS="\
|
|
|
|
|
--with-cpu-32=power4 --with-tune-32=power6 --with-cpu-64=power4 --with-tune-64=power6 \ |
|
|
|
|
%endif |
|
|
|
|
%endif |
|
|
|
|
%ifarch ppc64 |
|
|
|
|
%if 0%{?rhel} == 9 |
|
|
|
|
--with-cpu-32=%{cpuarch} --with-tune-32=%{cpuarch} --with-cpu-64=%{cpuarch} --with-tune-64=%{cpuarch} \ |
|
|
|
|
%else |
|
|
|
|
--with-cpu-32=power8 --with-tune-32=power8 --with-cpu-64=power8 --with-tune-64=power8 \ |
|
|
|
|
%endif |
|
|
|
|
%endif |
|
|
|
|
%ifarch ppc64le |
|
|
|
|
%if 0%{?rhel} == 9 |
|
|
|
|
--with-cpu-32=%{cpuarch} --with-tune-32=%{cpuarch} --with-cpu-64=%{cpuarch} --with-tune-64=%{cpuarch} \ |
|
|
|
|