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.
This commit is contained in:
Chris Metcalf 2014-12-29 10:58:25 -05:00
parent 7910c2ae73
commit e47b8d3bbc
2 changed files with 6 additions and 1 deletions

View file

@ -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.

View file

@ -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) \