forked from pool/glibc
a30da1c424
Update to latest 2.16 git head OBS-URL: https://build.opensuse.org/request/show/131848 OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=208
26 lines
919 B
Diff
26 lines
919 B
Diff
Index: glibc-2.15.90/elf/Makefile
|
|
===================================================================
|
|
--- glibc-2.15.90.orig/elf/Makefile
|
|
+++ glibc-2.15.90/elf/Makefile
|
|
@@ -50,6 +50,7 @@ include ../Makeconfig
|
|
ifeq ($(unwind-find-fde),yes)
|
|
routines += unwind-dw2-fde-glibc
|
|
shared-only-routines += unwind-dw2-fde-glibc
|
|
+CFLAGS-unwind-dw2-fde-glibc.c = -fno-strict-aliasing
|
|
endif
|
|
|
|
before-compile = $(objpfx)trusted-dirs.h
|
|
Index: glibc-2.15.90/sunrpc/Makefile
|
|
===================================================================
|
|
--- glibc-2.15.90.orig/sunrpc/Makefile
|
|
+++ glibc-2.15.90/sunrpc/Makefile
|
|
@@ -145,6 +145,8 @@ CFLAGS-key_call.c = -fexceptions
|
|
CFLAGS-pmap_rmt.c = -fexceptions
|
|
CFLAGS-clnt_perr.c = -fexceptions
|
|
CFLAGS-openchild.c = -fexceptions
|
|
+CFLAGS-clnt_tcp.c = -fno-strict-aliasing
|
|
+CFLAGS-clnt_unix.c = -fno-strict-aliasing
|
|
|
|
sunrpc-CPPFLAGS = -D_RPC_THREAD_SAFE_
|
|
CPPFLAGS += $(sunrpc-CPPFLAGS)
|