diff options
Diffstat (limited to 'meta/classes/icecc.bbclass')
-rw-r--r-- | meta/classes/icecc.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/icecc.bbclass b/meta/classes/icecc.bbclass index 66a5bf79e3..2f34d408d2 100644 --- a/meta/classes/icecc.bbclass +++ b/meta/classes/icecc.bbclass | |||
@@ -10,7 +10,7 @@ def icc_determine_gcc_version(gcc): | |||
10 | 10 | ||
11 | 'i686-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1 (Apple Computer, Inc. build 5363)' | 11 | 'i686-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1 (Apple Computer, Inc. build 5363)' |
12 | """ | 12 | """ |
13 | return os.popen("%s --version" % gcc ).readline()[2] | 13 | return os.popen("%s --version" % gcc ).readline().split()[2] |
14 | 14 | ||
15 | def create_env(bb,d): | 15 | def create_env(bb,d): |
16 | """ | 16 | """ |