sys-libs/glibc: fix CPPFLAGS handling, bug #686248
authorSergei Trofimovich <slyfox@gentoo.org>
Thu, 25 Jul 2019 22:03:50 +0000 (23:03 +0100)
committerSergei Trofimovich <slyfox@gentoo.org>
Thu, 25 Jul 2019 22:31:53 +0000 (23:31 +0100)
commitdaed4831fcde3f2144b5771e0077256d7e1df92a
treec56d31e205ade9cc51eaf8b2bc21970f36235c1a
parentc24e20dbdb0c87824f3c37d9df42dceb2ceb2cf9
sys-libs/glibc: fix CPPFLAGS handling, bug #686248

Main triver of the change is an early cross-compilation of glibc headers
where we provide enough CPPFLAGS for a target to parse headers.

Unfortunately preprocessor was not always taking into accound CPPFLAGS.
This change fixes it. This chould make
    'crossdev -t riscv64-unknown-linux-gnu'
just work.

Closes: https://bugs.gentoo.org/686248
Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
sys-libs/glibc/Manifest
sys-libs/glibc/glibc-2.29-r3.ebuild [new file with mode: 0644]
sys-libs/glibc/glibc-9999.ebuild