libtirpc: rpcgen is only built for host, don't install to target
authorPhil Eichinger <phil.eichinger@gmail.com>
Tue, 3 Nov 2015 21:09:43 +0000 (22:09 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 3 Nov 2015 22:48:58 +0000 (23:48 +0100)
rpcgen is only used to generate headers needed for compilation.
Move it to noinst_PROGRAMS otherwise you may end up with a host-arch
binary in your target.

Signed-off-by: Phil Eichinger <phil@zankapfel.net>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/libtirpc/0003-Add-rpcgen-program-from-nfs-utils-sources.patch

index ad14312aa62e4b95435e1c786becdf55220111a7..1cf861417c9b500b9ed136685eef0343edccdcac 100644 (file)
@@ -87,7 +87,7 @@ index 0000000..2277b6f
 +      $(CPPFLAGS_FOR_BUILD) $(AM_CFLAGS) $(CFLAGS_FOR_BUILD)
 +LINK = $(CC_FOR_BUILD) $(AM_CFLAGS) $(CFLAGS_FOR_BUILD) $(AM_LDFLAGS) $(LDFLAGS_FOR_BUILD) -o $@
 +
-+bin_PROGRAMS = rpcgen
++noinst_PROGRAMS = rpcgen
 +
 +rpcgen_SOURCES = \
 +      rpc_clntout.c \