diff options
author | Khem Raj <raj.khem@gmail.com> | 2020-08-12 22:30:18 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2020-08-13 22:32:07 -0700 |
commit | 000c6a181e2fb989270925a5b918172fb01ef47a (patch) | |
tree | 481f4b8760d6bbbb6fc6fc96f0e71f3961f76578 /meta-initramfs/recipes-devtools/klibc | |
parent | 45b327ba1620febf3dd8a8b415d601c9c9e78bc5 (diff) | |
download | meta-openembedded-000c6a181e2fb989270925a5b918172fb01ef47a.tar.gz |
klibc: Compile with -fcommon
gcc 10 defaults to -fno-common, but klibc does not build with
-fno-common, it will need some work to get there, until then use
-fcommon explicitly
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-initramfs/recipes-devtools/klibc')
-rw-r--r-- | meta-initramfs/recipes-devtools/klibc/klibc.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-initramfs/recipes-devtools/klibc/klibc.inc b/meta-initramfs/recipes-devtools/klibc/klibc.inc index 54cd3c24b..243107e9a 100644 --- a/meta-initramfs/recipes-devtools/klibc/klibc.inc +++ b/meta-initramfs/recipes-devtools/klibc/klibc.inc | |||
@@ -35,7 +35,7 @@ SRC_URI[sha256sum] = "abef2637ca823485d9c90ce9512e2b08a65047ec4da204635eeaef95a4 | |||
35 | 35 | ||
36 | S = "${WORKDIR}/klibc-${PV}" | 36 | S = "${WORKDIR}/klibc-${PV}" |
37 | 37 | ||
38 | OPTFLAGS = "${TUNE_CCARGS} -Os" | 38 | OPTFLAGS = "${TUNE_CCARGS} -Os -fcommon" |
39 | OPTFLAGS_append_toolchain-clang = " -fno-builtin-bcmp" | 39 | OPTFLAGS_append_toolchain-clang = " -fno-builtin-bcmp" |
40 | OPTFLAGS_append_toolchain-clang_mipsarch = " -no-integrated-as" | 40 | OPTFLAGS_append_toolchain-clang_mipsarch = " -no-integrated-as" |
41 | 41 | ||