diff options
author | Michael Krelin <hacker@klever.net> | 2007-08-22 20:23:50 +0000 |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2007-08-22 20:23:50 +0000 |
commit | bd5a009fca1657c7778884a3f04ba645077d86a5 (patch) | |
tree | 457c87c5429364af663d6e1cbcb8cacedf86bd26 /packages/qemu | |
parent | 2b383b0690d728c93df9f37189c86a33061d9243 (diff) |
qemu-native: thanks, hrw, but please, pick up my gcc3 too! ;-)
Diffstat (limited to 'packages/qemu')
-rw-r--r-- | packages/qemu/qemu-native_20070613.bb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/qemu/qemu-native_20070613.bb b/packages/qemu/qemu-native_20070613.bb index 03a433b232..f040280570 100644 --- a/packages/qemu/qemu-native_20070613.bb +++ b/packages/qemu/qemu-native_20070613.bb @@ -8,7 +8,9 @@ python __anonymous() { path = data.getVar('PATH', d) oeconf = data.getVar('EXTRA_OECONF', d) or '' - if len(which(path, 'gcc-3.4')) != 0: + if len(which(path, 'gcc-3.4.6')) != 0: + data.setVar('EXTRA_OECONF', oeconf + " --cc=gcc-3.4.6", d) + elif len(which(path, 'gcc-3.4')) != 0: data.setVar('EXTRA_OECONF', oeconf + " --cc=gcc-3.4", d) elif len(which(path, 'gcc34')) != 0: data.setVar('EXTRA_OECONF', oeconf + " --cc=gcc34", d) |