[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Omaha.pm] Whacking Makefile's



Title: Whacking Makefile's

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