|
|
b40826 |
Index: glibc-2.12-2-gc4ccff1/elf/Makefile
|
|
|
b40826 |
===================================================================
|
|
|
b40826 |
--- glibc-2.12-2-gc4ccff1.orig/elf/Makefile
|
|
|
b40826 |
+++ glibc-2.12-2-gc4ccff1/elf/Makefile
|
|
|
b40826 |
@@ -129,6 +129,7 @@ include ../Makeconfig
|
|
|
b40826 |
ifeq ($(unwind-find-fde),yes)
|
|
|
b40826 |
routines += unwind-dw2-fde-glibc
|
|
|
b40826 |
shared-only-routines += unwind-dw2-fde-glibc
|
|
|
b40826 |
+CFLAGS-unwind-dw2-fde-glibc.c += -fno-strict-aliasing
|
|
|
b40826 |
endif
|
|
|
b40826 |
|
|
|
b40826 |
before-compile = $(objpfx)trusted-dirs.h
|
|
|
b40826 |
Index: glibc-2.12-2-gc4ccff1/inet/Makefile
|
|
|
b40826 |
===================================================================
|
|
|
b40826 |
--- glibc-2.12-2-gc4ccff1.orig/inet/Makefile
|
|
|
b40826 |
+++ glibc-2.12-2-gc4ccff1/inet/Makefile
|
|
|
b40826 |
@@ -57,6 +57,8 @@ tests := htontest test_ifindex tst-ntoa
|
|
|
b40826 |
|
|
|
b40826 |
include ../Rules
|
|
|
b40826 |
|
|
|
b40826 |
+CFLAGS-tst-inet6_rth.c += -fno-strict-aliasing
|
|
|
b40826 |
+
|
|
|
b40826 |
ifeq ($(have-thread-library),yes)
|
|
|
b40826 |
|
|
|
b40826 |
CFLAGS-gethstbyad_r.c = -DUSE_NSCD=1 -fexceptions
|
|
|
b40826 |
Index: glibc-2.12-2-gc4ccff1/nis/Makefile
|
|
|
b40826 |
===================================================================
|
|
|
b40826 |
--- glibc-2.12-2-gc4ccff1.orig/nis/Makefile
|
|
|
b40826 |
+++ glibc-2.12-2-gc4ccff1/nis/Makefile
|
|
|
b40826 |
@@ -69,6 +69,8 @@ libnss_nisplus-inhibit-o = $(filter-out
|
|
|
b40826 |
|
|
|
b40826 |
include ../Rules
|
|
|
b40826 |
|
|
|
b40826 |
+CFLAGS-nis_findserv.c += -fno-strict-aliasing
|
|
|
b40826 |
+CFLAGS-ypclnt.c += -fno-strict-aliasing
|
|
|
b40826 |
|
|
|
b40826 |
$(objpfx)libnss_compat.so: $(objpfx)libnsl.so$(libnsl.so-version)
|
|
|
b40826 |
$(objpfx)libnss_nis.so: $(objpfx)libnsl.so$(libnsl.so-version) \
|
|
|
b40826 |
Index: glibc-2.12-2-gc4ccff1/nss/Makefile
|
|
|
b40826 |
===================================================================
|
|
|
b40826 |
--- glibc-2.12-2-gc4ccff1.orig/nss/Makefile
|
|
|
b40826 |
+++ glibc-2.12-2-gc4ccff1/nss/Makefile
|
|
|
b40826 |
@@ -74,6 +74,7 @@ endif
|
|
|
b40826 |
|
|
|
b40826 |
include ../Rules
|
|
|
b40826 |
|
|
|
b40826 |
+CFLAGS-files-hosts.c += -fno-strict-aliasing
|
|
|
b40826 |
|
|
|
b40826 |
ifeq (yes,$(build-static-nss))
|
|
|
b40826 |
$(objpfx)getent: $(objpfx)libnss_files.a
|
|
|
b40826 |
Index: glibc-2.12-2-gc4ccff1/resolv/Makefile
|
|
|
b40826 |
===================================================================
|
|
|
b40826 |
--- glibc-2.12-2-gc4ccff1.orig/resolv/Makefile
|
|
|
b40826 |
+++ glibc-2.12-2-gc4ccff1/resolv/Makefile
|
|
|
b40826 |
@@ -77,6 +77,7 @@ CPPFLAGS += -Dgethostbyname=res_gethostb
|
|
|
b40826 |
-Dgetnetbyaddr=res_getnetbyaddr
|
|
|
b40826 |
|
|
|
b40826 |
CFLAGS-res_hconf.c = -fexceptions
|
|
|
b40826 |
+CFLAGS-res_send.c += -fno-strict-aliasing
|
|
|
b40826 |
|
|
|
b40826 |
# The BIND code elicits some harmless warnings.
|
|
|
b40826 |
+cflags += -Wno-strict-prototypes -Wno-write-strings
|
|
|
b40826 |
Index: glibc-2.12-2-gc4ccff1/sunrpc/Makefile
|
|
|
b40826 |
===================================================================
|
|
|
b40826 |
--- glibc-2.12-2-gc4ccff1.orig/sunrpc/Makefile
|
|
|
b40826 |
+++ glibc-2.12-2-gc4ccff1/sunrpc/Makefile
|
|
|
b40826 |
@@ -129,6 +129,10 @@ CFLAGS-openchild.c = -fexceptions
|
|
|
b40826 |
|
|
|
b40826 |
CPPFLAGS += -D_RPC_THREAD_SAFE_
|
|
|
b40826 |
|
|
|
b40826 |
+CFLAGS-clnt_tcp.c += -fno-strict-aliasing
|
|
|
b40826 |
+CFLAGS-clnt_udp.c += -fno-strict-aliasing
|
|
|
b40826 |
+CFLAGS-clnt_unix.c += -fno-strict-aliasing
|
|
|
b40826 |
+
|
|
|
b40826 |
include ../Rules
|
|
|
b40826 |
|
|
|
b40826 |
$(objpfx)rpcgen: $(addprefix $(objpfx),$(rpcgen-objs)) \
|
|
|
b40826 |
Index: glibc-2.12-2-gc4ccff1/sysdeps/powerpc/powerpc64/elf/Makefile
|
|
|
b40826 |
===================================================================
|
|
|
b40826 |
--- glibc-2.12-2-gc4ccff1.orig/sysdeps/powerpc/powerpc64/elf/Makefile
|
|
|
b40826 |
+++ glibc-2.12-2-gc4ccff1/sysdeps/powerpc/powerpc64/elf/Makefile
|
|
|
b40826 |
@@ -9,3 +9,5 @@ CFLAGS-rtld-mempcpy.os = $(no-special-re
|
|
|
b40826 |
CFLAGS-rtld-memmove.os = $(no-special-regs)
|
|
|
b40826 |
CFLAGS-rtld-memchr.os = $(no-special-regs)
|
|
|
b40826 |
CFLAGS-rtld-strnlen.os = $(no-special-regs)
|
|
|
b40826 |
+
|
|
|
b40826 |
+CFLAGS-gmon-start.c += -fno-strict-aliasing
|