Alon Bar-Lev alon.barlev@gmail.com writes:
In Gentoo and probably other downstream distributions we let package management to manage the flags
This is a bit tricky. One can already pass CFLAGS= to configure. But I think the intention is that should override configure's automatic selection of flags (I haven't tested that though). But usually, one wants the package's configure have some say, and e.g., enable warnings that are expected to be silent.
So I'd rather have something more general like APPEND_CFLAGS added after CFLAGS to make it possible to override selected flags, and with some consistency with other packages using autoconf.
Regards, /Niels