Fix failure in tst-cleanup2 and tst-cleanupx2 with gcc-4.9

gcc (GCC) 4.9.0 20131114 (experimental)

2013-11-20  Paul Pluzhnikov  <ppluzhnikov@google.com

	* Makefile (tst-cleanup2, tst-cleanupx2): Add -fno-builtin
This commit is contained in:
Paul Pluzhnikov 2013-11-20 10:25:57 -08:00
parent 71655786bc
commit c8b82b81de
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2013-11-20 Paul Pluzhnikov <ppluzhnikov@google.com
* Makefile (tst-cleanup2, tst-cleanupx2): Add -fno-builtin
2013-10-30 Mike Frysinger <vapier@gentoo.org>
* sysdeps/pthread/configure.in: Moved to ...

View File

@ -278,6 +278,10 @@ gen-as-const-headers = pthread-errnos.sym
LDFLAGS-pthread.so = -Wl,--enable-new-dtags,-z,nodelete,-z,initfirst
# GCC-4.9 compiles 'sprintf(NULL, ...)' into UD2 on x86_64 without -fno-builtin
CFLAGS-tst-cleanup2.c = -fno-builtin
CFLAGS-tst-cleanupx2.c = -fno-builtin
include ../Makeconfig
ifeq ($(have-forced-unwind),yes)