Files
glibc/glibc-strict-aliasing.diff
Stephan Kulow 5fabd52a67 Accepting request 132085 from Base:System
Order changes; update to glibc 2.16 (forwarded request 132084 from a_jaeger)

OBS-URL: https://build.opensuse.org/request/show/132085
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/glibc?expand=0&rev=119
2012-08-31 07:27:30 +00:00

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)