Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 518156

Summary: CPPFLAGS should be explained in documentation
Product: Portage Development Reporter: Artem Leshchev <matshch>
Component: Enhancement/Feature RequestsAssignee: Portage team <dev-portage>
Status: UNCONFIRMED ---    
Severity: minor CC: sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Artem Leshchev 2014-07-26 11:19:37 UTC
emerge --info shouldn't warn that CPPFLAGS is unset or make.conf documentation should explain for what it used. Now it can be confused with CXXFLAGS by usual user and set to ${CFLAGS}, what breaks some ebuilds. If it will be explained bugs like bug 518510 will not ever exist.
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2014-07-26 11:26:56 UTC
Sorry, but you misunderstood me in the bug. It's OK to set proper CPPFLAGS, but you shouldn't put CFLAGS or CXXFLAGS to CPPFLAGS
Comment 2 Artem Leshchev 2014-07-26 11:28:11 UTC
I think it should be explained anyway so it will not be set to optimization flags.