From 5e3cf7401ba4ebaa2f756449f713bea68256cdd5 Mon Sep 17 00:00:00 2001
From: Mike Frysinger <vapier@gentoo.org>
Date: Sun, 4 Feb 2007 09:42:38 +0000
Subject: the sun rpc code has too many alias violations to worry over now;
 just disable strict-aliasing until someone gets the balls to clean this stuff
 up

---
 libc/inet/rpc/Makefile.in | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libc/inet/rpc/Makefile.in b/libc/inet/rpc/Makefile.in
index af047c0df..2f1246b20 100644
--- a/libc/inet/rpc/Makefile.in
+++ b/libc/inet/rpc/Makefile.in
@@ -5,6 +5,8 @@
 # Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
 #
 
+CFLAGS-rpc := -fno-strict-aliasing
+
 ifneq ($(UCLIBC_HAS_FULL_RPC),y)
 # For now, only compile the stuff needed to do an NFS mount....
 CSRC:=	authunix_prot.c auth_none.c auth_unix.c bindresvport.c \
-- 
cgit v1.2.3