mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-12-15 23:05:34 +01:00
klibc.bbclass: Pass TUNE_CCARGS in flags
This is needed for ABI compatibility since march defines if -mthumb means thumb1 or thumb2 Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
parent
dec9f0ba38
commit
8fcd735aac
|
|
@ -11,6 +11,6 @@ CC_append_armv7a = " ${@' -mfloat-abi=${TUNE_CCARGS_MFLOAT}' if (d.getVar('TUNE_
|
|||
CPP_forcevariable = "${CC} -E"
|
||||
|
||||
# klcc uses own optimizations by default. See klcc(1) man file.
|
||||
export CFLAGS=""
|
||||
export CPPFLAGS=""
|
||||
export LDFLAGS=""
|
||||
export CFLAGS="${TUNE_CCARGS}"
|
||||
export CPPFLAGS="${TUNE_CCARGS}"
|
||||
export LDFLAGS="${TUNE_CCARGS}"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user