[Omaha.pm] Whacking Makefile's
Jay Hannah
jhannah at omnihotels.com
Mon Oct 8 13:37:13 PDT 2007
Task:
mod_perl has 27 Makefile's in its source tree. Remove -mtune=i686 from all
of them.
Solution:
find ./ -name "Makefile" | xargs perl -pi -e 's/ -mtune=i686//'
I'm sure there's a more elegant solution to catch that optimizer argument
upstream, but my first stab didn't work so I punted.
Alternate (untested):
perl -pi -e 's/ -mtune=i686//' `find ./ -name "Makefile"`
j
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.pm.org/pipermail/omaha-pm/attachments/20071008/1db48542/attachment.html
More information about the Omaha-pm
mailing list