From 78ab901b1e2e3de126bfa92ba5c24f8afe9ffe57 Mon Sep 17 00:00:00 2001 From: Taras Kondratiuk Date: Fri, 2 Feb 2018 18:10:43 -0800 Subject: gcc: enable build-id in gcc-cross-initial Normal gcc-cross has build-id feature enabled by default, so most of target binaries has build-id. But libc (glibc, musl) doesn't have build-id, because it is built with gcc-cross-initial. Build-id is a useful feature, so enable it for gcc-cross-initial too. (From OE-Core rev: ba69701dac785a220feffd6118718b1c9e733548) Signed-off-by: Taras Kondratiuk Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- meta/recipes-devtools/gcc/gcc-7.3.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-devtools/gcc/gcc-7.3.inc b/meta/recipes-devtools/gcc/gcc-7.3.inc index c662899174..b816f7d12f 100644 --- a/meta/recipes-devtools/gcc/gcc-7.3.inc +++ b/meta/recipes-devtools/gcc/gcc-7.3.inc @@ -120,6 +120,7 @@ EXTRA_OECONF_INITIAL = "\ --with-system-zlib \ --disable-lto \ --disable-plugin \ + --enable-linker-build-id \ --enable-decimal-float=no \ --without-isl \ --disable-libssp \ -- cgit v1.2.3-54-g00ecf