Possible Duplicate:
Recompile all packages and trigger on updates
What's easiest way of to rebuild a package in Debian/Ubuntu using a specific set of CFLAGS
/CXXFLAGS
. In all the tutorials I have read so far, for example this one, they all refer to Debian's way which is about 5-10 command line calls depending what want to do.
But If I simply want to rebuild a package with -march=native
it should be as simple as Gentoo's CFLAGS=-march=native emerge PACKAGE
. Scripts for that any one?
Why isn't Ubuntu as user friendly as Gentoo in this aspect?