mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-01-12 03:24:08 +00:00
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>
This commit is contained in:
@@ -35,7 +35,7 @@ SRC_URI[sha256sum] = "abef2637ca823485d9c90ce9512e2b08a65047ec4da204635eeaef95a4
|
||||
|
||||
S = "${WORKDIR}/klibc-${PV}"
|
||||
|
||||
OPTFLAGS = "${TUNE_CCARGS} -Os"
|
||||
OPTFLAGS = "${TUNE_CCARGS} -Os -fcommon"
|
||||
OPTFLAGS_append_toolchain-clang = " -fno-builtin-bcmp"
|
||||
OPTFLAGS_append_toolchain-clang_mipsarch = " -no-integrated-as"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user