libtirpc: rpcgen is only built for host, don't install to target

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>
This commit is contained in:
Phil Eichinger 2015-11-03 22:09:43 +01:00 committed by Thomas Petazzoni
parent a566520ef6
commit 4f7f86fb1d

View 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 \