Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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?

share|improve this question

marked as duplicate by Jorge Castro, Marco Ceppi Sep 30 '11 at 21:14

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1 Answer 1

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

share|improve this answer

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