diff options
author | Mike Frysinger <vapier@gentoo.org> | 2012-07-03 15:22:05 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2012-08-12 22:09:23 -0400 |
commit | a7ef7b6735083a0c6e726cad950f5621517f46d4 (patch) | |
tree | 3e01458047d761eea03787f466db349561f7292b /misc/vhangup.c | |
parent | 95e039785ae82800fdd0ae0ba2dcaa2f0e9d9d7a (diff) | |
download | glibc-a7ef7b6735083a0c6e726cad950f5621517f46d4.tar.gz |
sunrpc: fix rpc bootstrap builds
If you build & install glibc w/rpc disabled, you no longer have headers in
/usr/include/rpc/ (this is expected). But if you try to build glibc w/rpc
enabled, this gets into a bad state due to the new rpc helpers that get
cross-compiled:
$ make
...
x86_64-pc-linux-gnu-gcc -m32 -D_RPC_THREAD_SAFE_ -D_GNU_SOURCE -DIS_IN_build \
-include $objdir/config.h rpc_clntout.c -o $objdir/sunrpc/cross-rpc_clntout.o \
-MMD -MP -MF $objdir/sunrpc/cross-rpc_clntout.o.dt -MT $objdir/sunrpc/cross-rpc_clntout.o -c
rpc_clntout.c:34:23: fatal error: rpc/types.h: No such file or directory
compilation terminated.
make: *** [$objdir/sunrpc/cross-rpc_clntout.o] Error 1
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
(cherry picked from commit fb21f89b75d0152aa42efb6b620843799a4cd76b)
Diffstat (limited to 'misc/vhangup.c')
0 files changed, 0 insertions, 0 deletions