diff --git a/cross-aarch64-gcc.spec b/cross-aarch64-gcc.spec index 3def5b1..797feb1 100644 --- a/cross-aarch64-gcc.spec +++ b/cross-aarch64-gcc.spec @@ -237,6 +237,7 @@ AutoReq: true %endif %global gcc_target_platform %{_target_platform} +%if !%{crossbuild} %if %{build_go} # Avoid stripping these libraries and binaries. %global __os_install_post \ @@ -257,6 +258,7 @@ chmod 755 %{buildroot}%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_versio chmod 755 %{buildroot}%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/vet \ %{nil} %endif +%endif %description The gcc package contains the GNU Compiler Collection version 4.9. diff --git a/cross-armv7hl-gcc.spec b/cross-armv7hl-gcc.spec index 07ad091..9ad602d 100644 --- a/cross-armv7hl-gcc.spec +++ b/cross-armv7hl-gcc.spec @@ -237,6 +237,7 @@ AutoReq: true %endif %global gcc_target_platform %{_target_platform} +%if !%{crossbuild} %if %{build_go} # Avoid stripping these libraries and binaries. %global __os_install_post \ @@ -257,6 +258,7 @@ chmod 755 %{buildroot}%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_versio chmod 755 %{buildroot}%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/vet \ %{nil} %endif +%endif %description The gcc package contains the GNU Compiler Collection version 4.9. diff --git a/cross-i486-gcc.spec b/cross-i486-gcc.spec index 5979387..7d90e22 100644 --- a/cross-i486-gcc.spec +++ b/cross-i486-gcc.spec @@ -237,6 +237,7 @@ AutoReq: true %endif %global gcc_target_platform %{_target_platform} +%if !%{crossbuild} %if %{build_go} # Avoid stripping these libraries and binaries. %global __os_install_post \ @@ -257,6 +258,7 @@ chmod 755 %{buildroot}%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_versio chmod 755 %{buildroot}%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/vet \ %{nil} %endif +%endif %description The gcc package contains the GNU Compiler Collection version 4.9. diff --git a/cross-x86_64-gcc.spec b/cross-x86_64-gcc.spec index d72b108..b2b9845 100644 --- a/cross-x86_64-gcc.spec +++ b/cross-x86_64-gcc.spec @@ -237,6 +237,7 @@ AutoReq: true %endif %global gcc_target_platform %{_target_platform} +%if !%{crossbuild} %if %{build_go} # Avoid stripping these libraries and binaries. %global __os_install_post \ @@ -257,6 +258,7 @@ chmod 755 %{buildroot}%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_versio chmod 755 %{buildroot}%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/vet \ %{nil} %endif +%endif %description The gcc package contains the GNU Compiler Collection version 4.9. diff --git a/gcc.spec b/gcc.spec index 187bcb5..cd5f4e1 100644 --- a/gcc.spec +++ b/gcc.spec @@ -236,6 +236,7 @@ AutoReq: true %endif %global gcc_target_platform %{_target_platform} +%if !%{crossbuild} %if %{build_go} # Avoid stripping these libraries and binaries. %global __os_install_post \ @@ -256,6 +257,7 @@ chmod 755 %{buildroot}%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_versio chmod 755 %{buildroot}%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/vet \ %{nil} %endif +%endif %description The gcc package contains the GNU Compiler Collection version 4.9.