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?


Oops, I just discovered this other question! Seems to be exactly the thing I am looking for.

Not the answer you're looking for? Browse other questions tagged or ask your own question.