aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--sunrpc/Makefile2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 41e1430..dd82990 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2011-04-17 Ulrich Drepper <drepper@gmail.com>
+
+ * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
+ dependencies.
+
2011-02-06 Mike Frysinger <vapier@gentoo.org>
[BZ #12653]
diff --git a/sunrpc/Makefile b/sunrpc/Makefile
index f067e92..82f2b26 100644
--- a/sunrpc/Makefile
+++ b/sunrpc/Makefile
@@ -123,7 +123,7 @@ rpc-compat-routines.os = $(addprefix $(objpfx), \
subdir_lib: $(objpfx)librpc_compat_pic.a
$(objpfx)librpc_compat_pic.a: $(rpc-compat-routines.os)
$(AR) cr$(verbose) $@ $^
-$(rpc-compat-routines.os): $(objpfx)compat-%.os: %.c
+$(rpc-compat-routines.os): $(objpfx)compat-%.os: %.c $(before-compile)
$(compile-command.c) -DEXPORT_RPC_SYMBOLS
endif