mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 08:36:32 +01:00
fix bad python code for splitting cpuinfo flags, so that even the last flag gets the attention it deserves
git-svn-id: svn://localhost/ardour2/trunk@1602 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
026e8d0673
commit
0b7a7cba78
1 changed files with 1 additions and 1 deletions
|
|
@ -601,7 +601,7 @@ elif ((re.search ("i[0-9]86", config[config_cpu]) != None) or (re.search ("x86_6
|
|||
if env['DIST_TARGET'] != 'i386':
|
||||
|
||||
flag_line = os.popen ("cat /proc/cpuinfo | grep '^flags'").read()[:-1]
|
||||
x86_flags = flag_line.split (": ")[1:][0].split (' ')
|
||||
x86_flags = flag_line.split (": ")[1:][0].split ()
|
||||
|
||||
if "mmx" in x86_flags:
|
||||
opt_flags.append ("-mmmx")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue