about summary refs log tree commit diff
diff options
context:
space:
mode:
-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) \