]>
Commit | Line | Data |
---|---|---|
12788f63 MT |
1 | Index: glibc-2.12-2-gc4ccff1/elf/Makefile |
2 | =================================================================== | |
3 | --- glibc-2.12-2-gc4ccff1.orig/elf/Makefile | |
4 | +++ glibc-2.12-2-gc4ccff1/elf/Makefile | |
5 | @@ -129,6 +129,7 @@ include ../Makeconfig | |
6 | ifeq ($(unwind-find-fde),yes) | |
7 | routines += unwind-dw2-fde-glibc | |
8 | shared-only-routines += unwind-dw2-fde-glibc | |
9 | +CFLAGS-unwind-dw2-fde-glibc.c += -fno-strict-aliasing | |
10 | endif | |
11 | ||
12 | before-compile = $(objpfx)trusted-dirs.h | |
13 | Index: glibc-2.12-2-gc4ccff1/inet/Makefile | |
14 | =================================================================== | |
15 | --- glibc-2.12-2-gc4ccff1.orig/inet/Makefile | |
16 | +++ glibc-2.12-2-gc4ccff1/inet/Makefile | |
17 | @@ -57,6 +57,8 @@ tests := htontest test_ifindex tst-ntoa | |
18 | ||
19 | include ../Rules | |
20 | ||
21 | +CFLAGS-tst-inet6_rth.c += -fno-strict-aliasing | |
22 | + | |
23 | ifeq ($(have-thread-library),yes) | |
24 | ||
25 | CFLAGS-gethstbyad_r.c = -DUSE_NSCD=1 -fexceptions | |
26 | Index: glibc-2.12-2-gc4ccff1/nis/Makefile | |
27 | =================================================================== | |
28 | --- glibc-2.12-2-gc4ccff1.orig/nis/Makefile | |
29 | +++ glibc-2.12-2-gc4ccff1/nis/Makefile | |
30 | @@ -69,6 +69,8 @@ libnss_nisplus-inhibit-o = $(filter-out | |
31 | ||
32 | include ../Rules | |
33 | ||
34 | +CFLAGS-nis_findserv.c += -fno-strict-aliasing | |
35 | +CFLAGS-ypclnt.c += -fno-strict-aliasing | |
36 | ||
37 | $(objpfx)libnss_compat.so: $(objpfx)libnsl.so$(libnsl.so-version) | |
38 | $(objpfx)libnss_nis.so: $(objpfx)libnsl.so$(libnsl.so-version) \ | |
39 | Index: glibc-2.12-2-gc4ccff1/nss/Makefile | |
40 | =================================================================== | |
41 | --- glibc-2.12-2-gc4ccff1.orig/nss/Makefile | |
42 | +++ glibc-2.12-2-gc4ccff1/nss/Makefile | |
43 | @@ -74,6 +74,7 @@ endif | |
44 | ||
45 | include ../Rules | |
46 | ||
47 | +CFLAGS-files-hosts.c += -fno-strict-aliasing | |
48 | ||
49 | ifeq (yes,$(build-static-nss)) | |
50 | $(objpfx)getent: $(objpfx)libnss_files.a | |
51 | Index: glibc-2.12-2-gc4ccff1/resolv/Makefile | |
52 | =================================================================== | |
53 | --- glibc-2.12-2-gc4ccff1.orig/resolv/Makefile | |
54 | +++ glibc-2.12-2-gc4ccff1/resolv/Makefile | |
55 | @@ -77,6 +77,7 @@ CPPFLAGS += -Dgethostbyname=res_gethostb | |
56 | -Dgetnetbyaddr=res_getnetbyaddr | |
57 | ||
58 | CFLAGS-res_hconf.c = -fexceptions | |
59 | +CFLAGS-res_send.c += -fno-strict-aliasing | |
60 | ||
61 | # The BIND code elicits some harmless warnings. | |
62 | +cflags += -Wno-strict-prototypes -Wno-write-strings | |
63 | Index: glibc-2.12-2-gc4ccff1/sunrpc/Makefile | |
64 | =================================================================== | |
65 | --- glibc-2.12-2-gc4ccff1.orig/sunrpc/Makefile | |
66 | +++ glibc-2.12-2-gc4ccff1/sunrpc/Makefile | |
67 | @@ -129,6 +129,10 @@ CFLAGS-openchild.c = -fexceptions | |
68 | ||
69 | CPPFLAGS += -D_RPC_THREAD_SAFE_ | |
70 | ||
71 | +CFLAGS-clnt_tcp.c += -fno-strict-aliasing | |
72 | +CFLAGS-clnt_udp.c += -fno-strict-aliasing | |
73 | +CFLAGS-clnt_unix.c += -fno-strict-aliasing | |
74 | + | |
75 | include ../Rules | |
76 | ||
77 | $(objpfx)rpcgen: $(addprefix $(objpfx),$(rpcgen-objs)) \ | |
78 | Index: glibc-2.12-2-gc4ccff1/sysdeps/powerpc/powerpc64/elf/Makefile | |
79 | =================================================================== | |
80 | --- glibc-2.12-2-gc4ccff1.orig/sysdeps/powerpc/powerpc64/elf/Makefile | |
81 | +++ glibc-2.12-2-gc4ccff1/sysdeps/powerpc/powerpc64/elf/Makefile | |
82 | @@ -9,3 +9,5 @@ CFLAGS-rtld-mempcpy.os = $(no-special-re | |
83 | CFLAGS-rtld-memmove.os = $(no-special-regs) | |
84 | CFLAGS-rtld-memchr.os = $(no-special-regs) | |
85 | CFLAGS-rtld-strnlen.os = $(no-special-regs) | |
86 | + | |
87 | +CFLAGS-gmon-start.c += -fno-strict-aliasing |