Fix SSE detection on Linux hosts.

This commit is contained in:
Daniel Patterson 2015-05-16 11:59:23 -07:00
parent 17e47799bd
commit 5d45c0cb03

View file

@ -1214,7 +1214,7 @@ if not preconfigured:
break break
elif "linux" in sys.platform: elif "linux" in sys.platform:
for line in open("/proc/cpuinfo"): for line in open("/proc/cpuinfo"):
if "flags" in line and "SSE" in line: if "flags" in line and "sse" in line:
if "USE_SSE" in env and env["USE_SSE"] == "detect": if "USE_SSE" in env and env["USE_SSE"] == "detect":
color_print(4,'SSE detected on Linux host') color_print(4,'SSE detected on Linux host')
SSE_DETECTED = True SSE_DETECTED = True