diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2007-03-16 03:13:36 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2007-03-16 03:13:36 +0000 |
commit | 0b7a7cba788c20d9554ab8aa5b38bacf16e72ab6 (patch) | |
tree | 6d513956347dbc56dae2bb46d0bd107c5ccd9d8f | |
parent | 026e8d06732c8f5d7e7e2986e3b3f1d1e50bc247 (diff) |
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
-rw-r--r-- | SConstruct | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct index d7ec207268..19ec84c441 100644 --- a/SConstruct +++ b/SConstruct @@ -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") |