For now powertweak build system do not favor CFLAGS provided by enviroment (and thus, /etc/make.conf). Problem is hardcoded CFLAGS in configure.in. This issue gives the patch for either configure.in and ebuild that invokes autoconf before actual compilation. Reproducible: Always Steps to Reproduce: 1. emerge powertweak 2. watch the ./configure output Actual Results: powertweak 0.99.5 Configuration: -------------- XML libs: -L/usr/lib -lxml2 -lz -lm XML cflags: -I/usr/include/libxml2 CFLAGS: -O2 -g -Wall -W -fno-common CPPFLAGS: -Wall -W Mouse-enabled: yes Expected Results: powertweak 0.99.5 Configuration: -------------- XML libs: -L/usr/lib -lxml2 -lz -lm XML cflags: -I/usr/include/libxml2 CFLAGS: [your CFLAGS here] -Wall -W -fno-common CPPFLAGS: [your CPPFLAGS here] -Wall -W Mouse-enabled: yes
Created attachment 140317 [details, diff] powertweak patch Proposed patch to powertweak build system
Created attachment 140319 [details, diff] ebuild patch Proposed patch for app-admin/powertweak-0.99.5-r1 ebuild
removed from tree -> WONTFIX