gcc-4.1.0 still has issues with mudflap.

This commit is contained in:
Ralf Corsepius
2006-03-01 16:42:51 +00:00
parent 32ecfd6f2e
commit d257306645

View File

@@ -16,7 +16,7 @@
cd ../../.. cd ../../..
%endif %endif
%if "%{gcc_version}" < "4.0.3" %if "%{gcc_version}" <= "4.1.0"
# Misplaced header file # Misplaced header file
if test -f $RPM_BUILD_ROOT%{_includedir}/mf-runtime.h; then if test -f $RPM_BUILD_ROOT%{_includedir}/mf-runtime.h; then
mv $RPM_BUILD_ROOT%{_includedir}/mf-runtime.h \ mv $RPM_BUILD_ROOT%{_includedir}/mf-runtime.h \
@@ -67,7 +67,7 @@
%endif %endif
# Collect multilib subdirectories # Collect multilib subdirectories
f=`gcc/xgcc -Bgcc/ --print-multi-lib | sed -e 's,;.*$,,'` f=`build/gcc/xgcc -Bbuild/gcc/ --print-multi-lib | sed -e 's,;.*$,,'`
echo "%defattr(-,root,root,-)" > build/files.newlib echo "%defattr(-,root,root,-)" > build/files.newlib
TGTDIR="%{_prefix}/@tool_target@/lib" TGTDIR="%{_prefix}/@tool_target@/lib"