summaryrefslogtreecommitdiff
path: root/sunrpc
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@redhat.com>2010-05-25 15:09:20 +0200
committerAndreas Schwab <schwab@redhat.com>2010-05-25 16:45:48 +0200
commit96aefb90e843648812d1832789f4a88ea5350605 (patch)
tree22765682e409dbc695efd5e9cf0d964859919915 /sunrpc
parent8990fee3bbd1740f1a8411cd3842e0ef7278e208 (diff)
Avoid strict-aliasing issues
Diffstat (limited to 'sunrpc')
-rw-r--r--sunrpc/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/sunrpc/Makefile b/sunrpc/Makefile
index 30f74dc135..7eba7b7e85 100644
--- a/sunrpc/Makefile
+++ b/sunrpc/Makefile
@@ -129,6 +129,10 @@ CFLAGS-openchild.c = -fexceptions
CPPFLAGS += -D_RPC_THREAD_SAFE_
+CFLAGS-clnt_tcp.c = -fno-strict-aliasing
+CFLAGS-clnt_udp.c = -fno-strict-aliasing
+CFLAGS-clnt_unix.c = -fno-strict-aliasing
+
include ../Rules
$(objpfx)rpcgen: $(addprefix $(objpfx),$(rpcgen-objs)) \