From 0b7a7cba788c20d9554ab8aa5b38bacf16e72ab6 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Fri, 16 Mar 2007 03:13:36 +0000 Subject: [PATCH] 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 --- SConstruct | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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")