about summary refs log tree commit diff
path: root/sunrpc
diff options
context:
space:
mode:
Diffstat (limited to 'sunrpc')
-rw-r--r--sunrpc/Makefile2
1 files changed, 1 insertions, 1 deletions
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