diff options
Diffstat (limited to 'packages/qemu/qemu-native.inc')
-rw-r--r-- | packages/qemu/qemu-native.inc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/packages/qemu/qemu-native.inc b/packages/qemu/qemu-native.inc index 049aa675f8..bab02f7ddf 100644 --- a/packages/qemu/qemu-native.inc +++ b/packages/qemu/qemu-native.inc @@ -5,9 +5,11 @@ python __anonymous() { from bb import which, data path = data.getVar('PATH', d) + oldOeConf = data.getVar('EXTRA_OECONF', d) + if not oldOeConf: oldOeConf = "" if len(which(path, 'gcc-3.4')) != 0: - data.setVar('EXTRA_OECONF', " --cc=gcc-3.4", d) + data.setVar('EXTRA_OECONF', oldOeConf + " --cc=gcc-3.4", d) elif len(which(path, 'gcc-3.3')) != 0: - data.setVar('EXTRA_OECONF', " --cc=gcc-3.3", d) + data.setVar('EXTRA_OECONF', oldOeConf + " --cc=gcc-3.3", d) } |