From 51225803259c69a792a272d067443f3fbc9b79d7 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Thu, 22 Jan 2015 17:54:21 +0100 Subject: Fix failure of elf/tst-audit2 when compiled with GCC-5 --- elf/Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'elf') 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) -- cgit 1.4.1