summaryrefslogtreecommitdiff
path: root/package/openafs/patches/patch-src_rxgen_Makefile_in
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-09-25 09:58:34 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2013-09-25 09:58:34 +0200
commita42b7f9cbf9b6c3f4a2b7fe2ff718e02ae15071f (patch)
treee8c1bf3e17956d0ca35561d9d20d636ed0634486 /package/openafs/patches/patch-src_rxgen_Makefile_in
parentdfa47f6ed121abcbc3d9974601fc30fbadf7c716 (diff)
parentcd47bd9a54844eb6b3184390bb90927395066043 (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