$summary small example: gcc -march=native -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes -g -fPIC -O2 -MD -MT rose_qsig_aoc.lo -MF .rose_qsig_aoc.lo.d -MP -c -o rose_qsig_aoc.lo rose_qsig_aoc.c -march=native -O2 are my cflags, but buildsystem appends another -O2 that overwrites my optimization. In this case, there is no problem, but if I use -O? it is replaced thanks (*) sort keywords when you modify the ebuild
i forgot that should be dropped also -g
+*libpri-1.4.12_beta3 (17 May 2011) + + 17 May 2011; Tony Vroon <chainsaw@gentoo.org> +libpri-1.4.12_beta3.ebuild, + +files/libpri-1.4.12-multilib.patch, + +files/libpri-1.4.12-respect-cflags.patch, + +files/libpri-1.4.12-respect-ldflags.patch: + New beta; patchset rediffed by Stefan Knoblich in bug #346573. Consolidated + Werror removal and CFLAGS patches; remove -O2 and -g as per Agostino "ago" + Sarubbo in bug #360139. Contains important PTP fixes with regard to + downing/restarting links.