summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/unfs-server/unfs-server-2.1+2.2beta47/011-fno-strict-aliasing.patch
blob: 1d0535b58c708697f5c225e6c5ea7bda2c67e0c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Upstream-Status: Inappropriate [other]
Upstream is not making further releases of this software.

Signed-off-by: Scott Garman <scott.a.garman@intel.com>

# Patch origin: nfs-server source RPM from openSUSE 10.3

--- nfs-server/Makefile.in
+++ nfs-server/Makefile.in
@@ -225,7 +225,7 @@
 	$(RPCGEN) -l -o $@ $?
 
 nfs_prot_xdr.o: nfs_prot_xdr.c
-	$(COMPILE) $(RPC_WARNFLAGS) -c nfs_prot_xdr.c
+	$(COMPILE) $(RPC_WARNFLAGS) -fno-strict-aliasing -c nfs_prot_xdr.c
 mount_xdr.o: mount_xdr.c
 	$(COMPILE) $(RPC_WARNFLAGS) -c mount_xdr.c
 mount_svc.o: mount_svc.c