Skip to content
Commit 209a9104 authored by Yasushi SHOJI's avatar Yasushi SHOJI Committed by Carles Cufí
Browse files

cmake: compiler: gcc: Explicitly spell out stddef.h and limits.h



Depending on how compiler is built, it prints a different include
directory with `--print-file-name=include`.  What we want, instead, is
directories with `stddef.h` and `include-fixed/limits.h`.

This commit explicitly specify the header files we want to use, then
take the directory from the returned path.

Signed-off-by: default avatarYasushi SHOJI <y-shoji@ispace-inc.com>
parent 9336e3ee
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment