summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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