summaryrefslogtreecommitdiff
path: root/package/openafs/patches/patch-src_rxgen_Makefile_in
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-09-26 14:43:30 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2013-09-26 14:43:30 +0200
commitb9651f108b91776e565087dcdc2ac934b3483458 (patch)
treeda6e829c913143f6e7fc77ebf40e16294d865795 /package/openafs/patches/patch-src_rxgen_Makefile_in
parentd08bbc851385b23b0491ceb78546cf0794daf149 (diff)
parentd0cedd6214f7c35b73a22464c8688dbf9eb79f62 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
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