fix out-of-tree build with UCLIBC_HAS_CONTEXT_FUNCS
commit1614cebc9e36580a90ad27295640a757af5d6dff
authorMax Filippov <jcmvbkbc@gmail.com>
Wed, 24 Apr 2024 11:51:02 +0000 (24 04:51 -0700)
committerWaldemar Brodkorb <wbx@openadk.org>
Wed, 24 Apr 2024 16:13:43 +0000 (24 18:13 +0200)
treedf67513b8c18f73440609e90cf24f1550cb99299
parent016371460afd6126b6857561f51d40d09c1b8120
fix out-of-tree build with UCLIBC_HAS_CONTEXT_FUNCS

When building libc out-of-tree *context functions cannot find generated
header ucontext_i.h:

  libc/sysdeps/linux/xtensa/setcontext.S:19:10:
    fatal error: ucontext_i.h: No such file or directory

Fix that by adding include path to the build directory with that file to
the compiler flags.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Rules.mak