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

Bug 721950

Summary: gnome-base/gdm using COMMON_CFLAGS to pass in include folders
Product: Gentoo Linux Reporter: silwerspawn
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: normal CC: jstein
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description silwerspawn 2020-05-09 22:23:22 UTC
I have had problems compiling gdm recently because i used a separated CFLAG for some work, I called this variable COMMON_CFLAGS, when looking through the gdm build logs i noticed the -I parameters were missing, instead there were double CFLAGS in the build parameters.

Unsetting COMMON_CFLAGS fixed the issue.

I think its something to be aware since COMMON_CFLAGS should not be defining include parameters, basically a bad paradigm.

Maybe this can be unset in the ebuild or there should be created a patch to fix this?