When doing boostrap.sh process sometimes there is such situation, that
some packages compile with one set of flags, some with totally different
(like ncurses - it needs -fno-exceptions, and db4 needs -fexceptions - theese
flags are opposite so compilation will fail instead, if you put -fexceptions it
will fail on ncurses, if "-fno-expections" on db4). I thought to make possible
creation of /etc/portage/packages.cflags and /etc/portage/packages.cxxflags
files with extra flags for this, so one can add needed flags to selected package.
I wrote a patch for portage but I don't know if it wokrs case don't know how to
test it. It is in attachment.
Created attachment 54483 [details, diff]
patch for portage_const.py. unfotunately - untested
*** This bug has been marked as a duplicate of 44796 ***