aboutsummaryrefslogtreecommitdiff
path: root/config.make.in
diff options
context:
space:
mode:
authorAdhemerval Zanella <azanella@linux.vnet.ibm.com>2014-04-06 16:26:32 -0500
committerAdhemerval Zanella <azanella@linux.vnet.ibm.com>2014-04-06 16:48:08 -0500
commit7ffa9423020fe331b45a56b804c95929a0398e8b (patch)
tree2db5161018046fbcf34bd145c5095765dec6f3c1 /config.make.in
parent8bd70862e11023e7f827f240a5a214f847ae982d (diff)
downloadglibc-7ffa9423020fe331b45a56b804c95929a0398e8b.zip
glibc-7ffa9423020fe331b45a56b804c95929a0398e8b.tar.gz
glibc-7ffa9423020fe331b45a56b804c95929a0398e8b.tar.bz2
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.
Diffstat (limited to 'config.make.in')
-rw-r--r--config.make.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/config.make.in b/config.make.in
index 416fb9e..132d179 100644
--- a/config.make.in
+++ b/config.make.in
@@ -37,6 +37,7 @@ cflags-cpu = @libc_cv_cc_submachine@
asflags-cpu = @libc_cv_cc_submachine@
config-extra-cflags = @libc_extra_cflags@
+config-extra-cppflags = @libc_extra_cppflags@
config-cflags-nofma = @libc_cv_cc_nofma@
defines = @DEFINES@