about summary refs log tree commit diff
diff options
context:
space:
mode:
authorChris Metcalf <cmetcalf@ezchip.com>2014-12-29 10:58:25 -0500
committerChris Metcalf <cmetcalf@ezchip.com>2014-12-29 10:58:25 -0500
commite47b8d3bbc9415d5aceaeee3e946c3ab7d985bad (patch)
treed7ec6d9c2e7eaf633e26fe3572c8d3e6dcf61b1c
parent7910c2ae7391f3e6e1c6fed1c9a9b1f7492ec175 (diff)
downloadglibc-e47b8d3bbc9415d5aceaeee3e946c3ab7d985bad.tar.gz
glibc-e47b8d3bbc9415d5aceaeee3e946c3ab7d985bad.tar.xz
glibc-e47b8d3bbc9415d5aceaeee3e946c3ab7d985bad.zip
posix/Makefile: use $(objpfx) for files in before-compile.
This fixes a build failure with a separate build tree where
posix-conf-vars-def.h wasn't being built.
-rw-r--r--ChangeLog5
-rw-r--r--posix/Makefile2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 8701732c71..c25991f022 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
+
+	* posix/Makefile (before-compile): Use $(objpfx) for
+	posix-conf-vars-def.h.
+
 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
 
 	* posix/getconf.c (main): Use size_t for type of I.
diff --git a/posix/Makefile b/posix/Makefile
index fe332df054..dd42e5dff6 100644
--- a/posix/Makefile
+++ b/posix/Makefile
@@ -99,7 +99,7 @@ others		:= getconf
 install-bin	:= getconf
 install-others-programs	:= $(inst_libexecdir)/getconf
 
-before-compile	+= testcases.h ptestcases.h posix-conf-vars-def.h
+before-compile	+= testcases.h ptestcases.h $(objpfx)posix-conf-vars-def.h
 
 # So they get cleaned up.
 generated += $(addprefix wordexp-test-result, 1 2 3 4 5 6 7 8 9 10) \