diff options
author | Khem Raj <raj.khem@gmail.com> | 2022-07-23 07:54:16 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-07-25 22:59:00 +0100 |
commit | d69229e7247fc68b881181fb6a3995bff990d4c8 (patch) | |
tree | 684ec12760cc684afe7913c38a20a21c31086358 /meta/recipes-devtools/gcc | |
parent | 960ddcc609b313d99d4e3deaa247a4b49c4f8d6a (diff) | |
download | poky-d69229e7247fc68b881181fb6a3995bff990d4c8.tar.gz |
gcc-runtime: Use --with-target-subdir for baremetal targets
This disables tests for runtime system specific functions like fcntl
there is no other change seen
+configure:77372: checking for fcntl
+configure:77372: result: yes
In libsttdc++ configure log outputs.
[YOCTO #14803]
(From OE-Core rev: 586b6239252ecf2711930b60f7f0f617e38ac737)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-runtime.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-runtime.inc b/meta/recipes-devtools/gcc/gcc-runtime.inc index 3e1c799ba1..4ddbaca3ab 100644 --- a/meta/recipes-devtools/gcc/gcc-runtime.inc +++ b/meta/recipes-devtools/gcc/gcc-runtime.inc | |||
@@ -16,7 +16,8 @@ EXTRA_OECONF_PATHS = "\ | |||
16 | 16 | ||
17 | EXTRA_OECONF:append:linuxstdbase = " --enable-clocale=gnu" | 17 | EXTRA_OECONF:append:linuxstdbase = " --enable-clocale=gnu" |
18 | EXTRA_OECONF:append = " --cache-file=${B}/config.cache" | 18 | EXTRA_OECONF:append = " --cache-file=${B}/config.cache" |
19 | EXTRA_OECONF:append:libc-newlib = " --with-newlib" | 19 | EXTRA_OECONF:append:libc-newlib = " --with-newlib --with-target-subdir" |
20 | EXTRA_OECONF:append:libc-baremetal = " --with-target-subdir" | ||
20 | 21 | ||
21 | # Disable ifuncs for libatomic on arm conflicts -march/-mcpu | 22 | # Disable ifuncs for libatomic on arm conflicts -march/-mcpu |
22 | EXTRA_OECONF:append:arm = " libat_cv_have_ifunc=no " | 23 | EXTRA_OECONF:append:arm = " libat_cv_have_ifunc=no " |