Skip to content
Permalink
Browse files

libc: minimal: Add headers as system includes

This is consistent with how newlib headers are treated, and will
have effect of ninlibc headers to be further down in the include
order. This is important, because some POSIX subsys headers
override those of libc. Without this change, we can't streamline
POSIX build config using zephyr_interface_library_named() cmake
directive, because includes will be in wrong order.

Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
  • Loading branch information...
pfalcon authored and carlescufi committed Jun 6, 2019
1 parent 1c6a7d7 commit 7d2df83b5184b4566d43dd8a8d9abeb7c1d85694
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/libc/minimal/CMakeLists.txt
@@ -1,6 +1,6 @@
# SPDX-License-Identifier: Apache-2.0

zephyr_include_directories(include)
zephyr_system_include_directories(include)

zephyr_library()
zephyr_library_sources(

0 comments on commit 7d2df83

Please sign in to comment.
You can’t perform that action at this time.