This commit is contained in:
Jakub Jelinek 2008-03-27 19:28:27 +00:00
parent c358f1d2d3
commit 076c235049
1 changed files with 3 additions and 0 deletions

View File

@ -543,6 +543,9 @@ OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/-m64//g;s/-m32//g;s/-m31//g'`
%ifarch sparc sparc64
OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/-mcpu=ultrasparc/-mtune=ultrasparc/g;s/-mcpu=v[78]//g'`
%endif
%ifarch %{ix86}
OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/-march=i386//g'`
%endif
%ifarch sparc64
cat > gcc64 <<"EOF"
#!/bin/sh