diff options
author | Khem Raj <raj.khem@gmail.com> | 2017-10-02 09:06:56 -0700 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2017-10-04 14:53:30 +0000 |
commit | 8fcd735aac308838ee009ccaf45fbef97dd73739 (patch) | |
tree | 0c0ab9a62b3d6265992b83aba6eb3bb9b5e6fb68 /meta-initramfs | |
parent | dec9f0ba38811962fc9486559eb5432c36cf4d9c (diff) | |
download | meta-openembedded-8fcd735aac308838ee009ccaf45fbef97dd73739.tar.gz |
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>
Diffstat (limited to 'meta-initramfs')
-rw-r--r-- | meta-initramfs/classes/klibc.bbclass | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta-initramfs/classes/klibc.bbclass b/meta-initramfs/classes/klibc.bbclass index 1ec7b2b05..b7b72b728 100644 --- a/meta-initramfs/classes/klibc.bbclass +++ b/meta-initramfs/classes/klibc.bbclass | |||
@@ -11,6 +11,6 @@ CC_append_armv7a = " ${@' -mfloat-abi=${TUNE_CCARGS_MFLOAT}' if (d.getVar('TUNE_ | |||
11 | CPP_forcevariable = "${CC} -E" | 11 | CPP_forcevariable = "${CC} -E" |
12 | 12 | ||
13 | # klcc uses own optimizations by default. See klcc(1) man file. | 13 | # klcc uses own optimizations by default. See klcc(1) man file. |
14 | export CFLAGS="" | 14 | export CFLAGS="${TUNE_CCARGS}" |
15 | export CPPFLAGS="" | 15 | export CPPFLAGS="${TUNE_CCARGS}" |
16 | export LDFLAGS="" | 16 | export LDFLAGS="${TUNE_CCARGS}" |