diff options
author | Paul Pluzhnikov <ppluzhnikov@google.com> | 2013-11-20 10:25:57 -0800 |
---|---|---|
committer | Paul Pluzhnikov <ppluzhnikov@google.com> | 2013-11-20 10:25:57 -0800 |
commit | c8b82b81ded53ae06987727e807d19170bee4204 (patch) | |
tree | 28fc67aa0eb54ea0449ac582cde4310668d20965 /nptl/Makefile | |
parent | 71655786bcb9ccc4fe2b062520a2538a8f802e74 (diff) | |
download | glibc-c8b82b81ded53ae06987727e807d19170bee4204.tar.gz glibc-c8b82b81ded53ae06987727e807d19170bee4204.tar.xz glibc-c8b82b81ded53ae06987727e807d19170bee4204.zip |
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
Diffstat (limited to 'nptl/Makefile')
-rw-r--r-- | nptl/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/nptl/Makefile b/nptl/Makefile index cd601e5f5a..82f2d0a4f4 100644 --- a/nptl/Makefile +++ b/nptl/Makefile @@ -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) |