qemu-native: thanks, hrw, but please, pick up my gcc3 too! ;-)
authorMichael Krelin <hacker@klever.net>
Wed, 22 Aug 2007 20:23:50 +0000 (20:23 +0000)
committerMichael Krelin <hacker@klever.net>
Wed, 22 Aug 2007 20:23:50 +0000 (20:23 +0000)
packages/qemu/qemu-native_20070613.bb

index 03a433b..f040280 100644 (file)
@@ -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)