summaryrefslogtreecommitdiffstats
path: root/meta-initramfs
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2017-10-02 09:06:56 -0700
committerMartin Jansa <Martin.Jansa@gmail.com>2017-10-04 14:53:30 +0000
commit8fcd735aac308838ee009ccaf45fbef97dd73739 (patch)
tree0c0ab9a62b3d6265992b83aba6eb3bb9b5e6fb68 /meta-initramfs
parentdec9f0ba38811962fc9486559eb5432c36cf4d9c (diff)
downloadmeta-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.bbclass6
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_
11CPP_forcevariable = "${CC} -E" 11CPP_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.
14export CFLAGS="" 14export CFLAGS="${TUNE_CCARGS}"
15export CPPFLAGS="" 15export CPPFLAGS="${TUNE_CCARGS}"
16export LDFLAGS="" 16export LDFLAGS="${TUNE_CCARGS}"