projects
/
vuplus_openembedded
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f8b6f1
)
classes/icecc.bbclass: Use split so we get the real version instead of a single chara...
author
Holger Freyther
<zecke@selfish.org>
Mon, 11 Sep 2006 13:46:49 +0000
(13:46 +0000)
committer
Holger Freyther
<zecke@selfish.org>
Mon, 11 Sep 2006 13:46:49 +0000
(13:46 +0000)
[2] will get us the 2nd charachter of the first line. This
is not what we wanted. We want the version number which is the
'2nd' column of the first line.
classes/icecc.bbclass
patch
|
blob
|
history
diff --git
a/classes/icecc.bbclass
b/classes/icecc.bbclass
index
66a5bf7
..
2f34d40
100644
(file)
--- a/
classes/icecc.bbclass
+++ b/
classes/icecc.bbclass
@@
-10,7
+10,7
@@
def icc_determine_gcc_version(gcc):
'i686-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1 (Apple Computer, Inc. build 5363)'
"""
- return os.popen("%s --version" % gcc ).readline()[2]
+ return os.popen("%s --version" % gcc ).readline()
.split()
[2]
def create_env(bb,d):
"""