diff options
author | Max Filippov <jcmvbkbc@gmail.com> | 2024-04-24 04:51:02 -0700 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2024-04-24 18:13:43 +0200 |
commit | 1614cebc9e36580a90ad27295640a757af5d6dff (patch) | |
tree | df67513b8c18f73440609e90cf24f1550cb99299 | |
parent | 016371460afd6126b6857561f51d40d09c1b8120 (diff) |
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>
-rw-r--r-- | Rules.mak | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -604,6 +604,7 @@ CFLAGS := $(XWARNINGS) $(CPU_CFLAGS) $(SSP_CFLAGS) \ -nostdinc -I$(top_builddir)include \ -I$(top_srcdir)include -include libc-symbols.h \ -I$(top_srcdir)libc/sysdeps/linux/$(TARGET_ARCH) \ + -I$(top_builddir)libc/sysdeps/linux/$(TARGET_ARCH) \ -I$(top_srcdir)libc/sysdeps/linux \ -I$(top_srcdir)ldso/ldso/$(TARGET_ARCH) \ -I$(top_srcdir)ldso/include -I. |