From e8b6f1e57cd10840292b06406ad0c7058be7c168 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Mon, 30 Mar 2009 05:52:23 +0000 Subject: [PATCH] Also remove @tool_target@/include/bits for c-only targets. --- contrib/crossrpms/gcc/install.add | 2 -- 1 file changed, 2 deletions(-) diff --git a/contrib/crossrpms/gcc/install.add b/contrib/crossrpms/gcc/install.add index b8741b2a69..09c8063fa4 100644 --- a/contrib/crossrpms/gcc/install.add +++ b/contrib/crossrpms/gcc/install.add @@ -63,12 +63,10 @@ rm -rf ${RPM_BUILD_ROOT}%{gccexec}/@tool_target@/%{gcc_version}/install-tools %endif -%if %build_cxx # Bug in gcc > 4.1.0: Installs an unused, empty directory if test -d ${RPM_BUILD_ROOT}%{_prefix}/@tool_target@/include/bits; then rmdir ${RPM_BUILD_ROOT}%{_prefix}/@tool_target@/include/bits fi -%endif # Collect multilib subdirectories f=`build/gcc/xgcc -Bbuild/gcc/ --print-multi-lib | sed -e 's,;.*$,,'`