sys-libs/glibc: fix -mfpu=neon build failure, bug #657760
authorSergei Trofimovich <slyfox@gentoo.org>
Wed, 13 Jun 2018 20:45:58 +0000 (21:45 +0100)
committerSergei Trofimovich <slyfox@gentoo.org>
Wed, 13 Jun 2018 20:46:38 +0000 (21:46 +0100)
commit6c3740323094626403ee2e57f4a0c5b1cb4f37bb
tree971b72f44f46b7264094acfe3323c620415fcc3e
parent547bbcbdb43009c3f56f0568353308ac35242eda
sys-libs/glibc: fix -mfpu=neon build failure, bug #657760

CFLAGS=-mfpu=neon tricked glibc into not building memcpy()
implementation. It's caused by the fact that -mfpu=neon
was passed when building .c files, but was not passed
when building .S files.

This change passes CFLAGS to CPPFLAGS to apply to .S files.

Reported-by: Markus Meier
Closes: https://bugs.gentoo.org/657760
Bug: https://sourceware.org/PR23273
Package-Manager: Portage-2.3.40, Repoman-2.3.9
sys-libs/glibc/glibc-2.27-r4.ebuild [new file with mode: 0644]
sys-libs/glibc/glibc-9999.ebuild