summaryrefslogtreecommitdiff
path: root/package/openafs/patches/patch-src_rxgen_Makefile_in
diff options
context:
space:
mode:
Diffstat (limited to 'package/openafs/patches/patch-src_rxgen_Makefile_in')
-rw-r--r--package/openafs/patches/patch-src_rxgen_Makefile_in19
1 files changed, 19 insertions, 0 deletions
diff --git a/package/openafs/patches/patch-src_rxgen_Makefile_in b/package/openafs/patches/patch-src_rxgen_Makefile_in
new file mode 100644
index 000000000..bd0aa8c9a
--- /dev/null
+++ b/package/openafs/patches/patch-src_rxgen_Makefile_in
@@ -0,0 +1,19 @@
+--- openafs-1.6.5.orig/src/rxgen/Makefile.in 2013-07-18 00:10:42.000000000 +0200
++++ openafs-1.6.5/src/rxgen/Makefile.in 2013-09-10 20:57:38.854784594 +0200
+@@ -25,10 +25,14 @@ ${TOP_INCDIR}/afs/rxgen_consts.h: rxgen_
+ ${INSTALL_DATA} $? $@
+
+ rxgen: $(OBJS) AFS_component_version_number.c $(HDRS)
+- $(CC) $(CFLAGS) $(OBJS) $(XLIBS) -o $@
++ $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) $(OBJS) $(XLIBS) -o $@
+
+ rpc_main.o: rpc_main.c
+- $(CCOBJ) $(CFLAGS) -c ${srcdir}/rpc_main.c -DPATH_CPP="\"$(PATH_CPP)\""
++ $(CC_FOR_BUILD) ${COMMON_INCL} $(CFLAGS_FOR_BUILD) -c ${srcdir}/rpc_main.c -DPATH_CPP="\"$(PATH_CPP)\""
++
++.c.o:
++ $(CC_FOR_BUILD) ${COMMON_INCL} $(CFLAGS_FOR_BUILD) -c $<
++
+
+ #
+ # Install targets