summary refs log tree commit diff
path: root/elf
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2015-01-22 17:54:21 +0100
committerAndreas Schwab <schwab@suse.de>2015-02-23 12:35:54 +0100
commit51225803259c69a792a272d067443f3fbc9b79d7 (patch)
treeae3c59d3822aae89ba478dcd7a95846c90bf8b0f /elf
parentbdf1ff052a8e23d637f2c838fa5642d78fcedc33 (diff)
downloadglibc-51225803259c69a792a272d067443f3fbc9b79d7.tar.gz
glibc-51225803259c69a792a272d067443f3fbc9b79d7.tar.xz
glibc-51225803259c69a792a272d067443f3fbc9b79d7.zip
Fix failure of elf/tst-audit2 when compiled with GCC-5
Diffstat (limited to 'elf')
-rw-r--r--elf/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/elf/Makefile b/elf/Makefile
index b43b48ed95..f78642ed09 100644
--- a/elf/Makefile
+++ b/elf/Makefile
@@ -1017,6 +1017,8 @@ $(objpfx)tst-audit1.out: $(objpfx)tst-auditmod1.so
 tst-audit1-ENV = LD_AUDIT=$(objpfx)tst-auditmod1.so
 
 $(objpfx)tst-audit2.out: $(objpfx)tst-auditmod1.so
+# Prevent GCC-5 from translating a malloc/memset pair into calloc
+CFLAGS-tst-audit2.c += -fno-builtin
 tst-audit2-ENV = LD_AUDIT=$(objpfx)tst-auditmod1.so
 
 $(objpfx)tst-audit9: $(libdl)