commit:     7aef2481be644aa3117dea4ffa96e0fa94709fa2
Author:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 28 09:53:34 2021 +0000
Commit:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Thu Oct 28 09:53:34 2021 +0000
URL:        https://gitweb.gentoo.org/proj/sandbox.git/commit/?id=7aef2481

build: create libsandbox for trace_syscalls.h too

Commit ef35a16d1b5dcc1a99d17470799e680879278600 ("build: create
libsandbox dir before writing files") added a mkdir call to most
targets, but trace_syscalls.h was missed.

Bug: https://issuetracker.google.com/issues/204404822
Signed-off-by: Mike Frysinger <vapier <AT> gentoo.org>

 libsandbox/local.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libsandbox/local.mk b/libsandbox/local.mk
index a386505..131bcd8 100644
--- a/libsandbox/local.mk
+++ b/libsandbox/local.mk
@@ -72,6 +72,7 @@ TRACE_MAKE_HEADER = \
                $(COMPILE) -E -P -include $(top_srcdir)/headers.h - $$f | \
                $(SB_AWK) $(GEN_TRACE_SCRIPT) -v syscall_prefix=$$t > $$header
 %D%/trace_syscalls.h: $(SYMBOLS_FILE) $(GEN_TRACE_SCRIPT) $(SB_SCHIZO_HEADERS)
+       @$(MKDIR_P) %D%
 if SB_SCHIZO
        $(AM_V_GEN)touch $@
 else

Reply via email to