*** SConstruct.orig 2007-04-07 05:44:02 +0600 --- SConstruct 2007-04-22 00:55:24 +0600 *************** *** 599,607 **** if config[config_kernel] == 'linux' : if env['DIST_TARGET'] != 'i386': ! ! flag_line = os.popen ("cat /proc/cpuinfo | grep '^flags'").read()[:-1] ! x86_flags = flag_line.split (": ")[1:][0].split () if "mmx" in x86_flags: opt_flags.append ("-mmmx") --- 599,610 ---- if config[config_kernel] == 'linux' : if env['DIST_TARGET'] != 'i386': ! ! if env['DIST_TARGET'] != "x86_64": ! flag_line = os.popen ("cat /proc/cpuinfo | grep '^flags'").read()[:-1] ! x86_flags = flag_line.split (": ")[1:][0].split(' ') ! else: ! x86_flags = ["mmx", "sse"] if "mmx" in x86_flags: opt_flags.append ("-mmmx")