<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7651.59">
<TITLE>Whacking Makefile's</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=2>Task:<BR>
<BR>
mod_perl has 27 Makefile's in its source tree. Remove -mtune=i686 from all<BR>
of them.<BR>
<BR>
<BR>
Solution:<BR>
<BR>
find ./ -name &quot;Makefile&quot; | xargs perl -pi -e 's/ -mtune=i686//'<BR>
<BR>
<BR>
I'm sure there's a more elegant solution to catch that optimizer argument<BR>
upstream, but my first stab didn't work so I punted.<BR>
<BR>
Alternate (untested):<BR>
<BR>
perl -pi -e 's/ -mtune=i686//' `find ./ -name &quot;Makefile&quot;`<BR>
<BR>
<BR>
j<BR>
<BR>
<BR>
</FONT>
</P>

</BODY>
</HTML>