about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gmail.com>2011-04-20 14:02:41 -0400
committerUlrich Drepper <drepper@gmail.com>2011-04-20 14:02:41 -0400
commit877175d8ea2e0182909e04cac603017ca31022ef (patch)
tree0a096d632527251fa16c8966d43a9d612c752169
parent00401ad5b08e86f2a912a640487c34006c7c27e3 (diff)
downloadglibc-877175d8ea2e0182909e04cac603017ca31022ef.tar.gz
glibc-877175d8ea2e0182909e04cac603017ca31022ef.tar.xz
glibc-877175d8ea2e0182909e04cac603017ca31022ef.zip
Fix build problem in sunrpc.
-rw-r--r--ChangeLog4
-rw-r--r--sunrpc/Makefile4
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 91ddfb5628..934a23cb3f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2011-04-20  Ulrich Drepper  <drepper@gmail.com>
+
+	* sunrpc/Makefile: Move inclusion of Rules.
+
 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
 
 	* nss/nss_files/files-initgroups.c: New file.
diff --git a/sunrpc/Makefile b/sunrpc/Makefile
index 82f2b2663f..f86393abe3 100644
--- a/sunrpc/Makefile
+++ b/sunrpc/Makefile
@@ -116,6 +116,8 @@ librpcsvc-inhibit-o = .os # Build no shared rpcsvc library.
 omit-deps = $(librpcsvc-routines)
 endif
 
+include ../Rules
+
 ifeq (yes,$(build-shared))
 rpc-compat-routines = $(addprefix compat-,$(need-export-routines))
 rpc-compat-routines.os = $(addprefix $(objpfx), \
@@ -148,8 +150,6 @@ CFLAGS-openchild.c = -fexceptions
 
 CPPFLAGS += -D_RPC_THREAD_SAFE_
 
-include ../Rules
-
 $(objpfx)tst-getmyaddr: $(common-objpfx)linkobj/libc.so
 $(objpfx)tst-xdrmem: $(common-objpfx)linkobj/libc.so
 $(objpfx)tst-xdrmem2: $(common-objpfx)linkobj/libc.so