diff options
Diffstat (limited to 'meta/recipes-devtools/unfs-server/unfs-server-2.2beta47/011-fno-strict-aliasing.patch')
-rw-r--r-- | meta/recipes-devtools/unfs-server/unfs-server-2.2beta47/011-fno-strict-aliasing.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/meta/recipes-devtools/unfs-server/unfs-server-2.2beta47/011-fno-strict-aliasing.patch b/meta/recipes-devtools/unfs-server/unfs-server-2.2beta47/011-fno-strict-aliasing.patch new file mode 100644 index 0000000000..695b8c7d19 --- /dev/null +++ b/meta/recipes-devtools/unfs-server/unfs-server-2.2beta47/011-fno-strict-aliasing.patch | |||
@@ -0,0 +1,13 @@ | |||
1 | # Patch origin: nfs-server source RPM from openSUSE 10.3 | ||
2 | |||
3 | --- nfs-server/Makefile.in | ||
4 | +++ nfs-server/Makefile.in | ||
5 | @@ -225,7 +225,7 @@ | ||
6 | $(RPCGEN) -l -o $@ $? | ||
7 | |||
8 | nfs_prot_xdr.o: nfs_prot_xdr.c | ||
9 | - $(COMPILE) $(RPC_WARNFLAGS) -c nfs_prot_xdr.c | ||
10 | + $(COMPILE) $(RPC_WARNFLAGS) -fno-strict-aliasing -c nfs_prot_xdr.c | ||
11 | mount_xdr.o: mount_xdr.c | ||
12 | $(COMPILE) $(RPC_WARNFLAGS) -c mount_xdr.c | ||
13 | mount_svc.o: mount_svc.c | ||