PowerPC: define _CALL_ELF if compiler does not
commit7ffa9423020fe331b45a56b804c95929a0398e8b
authorAdhemerval Zanella <azanella@linux.vnet.ibm.com>
Sun, 6 Apr 2014 21:26:32 +0000 (6 16:26 -0500)
committerAdhemerval Zanella <azanella@linux.vnet.ibm.com>
Sun, 6 Apr 2014 21:48:08 +0000 (6 16:48 -0500)
tree2db5161018046fbcf34bd145c5095765dec6f3c1
parent8bd70862e11023e7f827f240a5a214f847ae982d
PowerPC: define _CALL_ELF if compiler does not

This patch makes the configure adds -D_CALL_ELF=1 when compiler does
not define _CALL_ELF (versions before powerpc64le support).  It cleans
up compiler warnings on old compiler where _CALL_ELF is not defined
on powerpc64(be) builds.

It does by add a new config.make variable for configure-deduced
CPPFLAGS and accumulate into that (confix-extra-cppflags).  It also
generalizes libc_extra_cflags so it accumulates in sysdeps configure
fragmenets.
ChangeLog
Makeconfig
config.make.in
configure
configure.ac
sysdeps/unix/sysv/linux/powerpc/powerpc64/configure
sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac