about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gmail.com>2011-04-17 22:52:11 -0400
committerUlrich Drepper <drepper@gmail.com>2011-04-17 22:52:11 -0400
commit53cf59efd8569841040efa540740acb7bd3e481e (patch)
tree925d712c077e50afcdea86c45e7a03151e28a21b
parent4c559bcdf38d7b655860c1a31c590109f37cc0fe (diff)
downloadglibc-53cf59efd8569841040efa540740acb7bd3e481e.tar.gz
glibc-53cf59efd8569841040efa540740acb7bd3e481e.tar.xz
glibc-53cf59efd8569841040efa540740acb7bd3e481e.zip
Add before-compile to dependencies for librpc_compat_pic objects.
-rw-r--r--ChangeLog5
-rw-r--r--sunrpc/Makefile2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 41e14309c7..dd82990072 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 f067e92398..82f2b2663f 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