SConstruct
branchpyrit
changeset 85 907a634e5c02
parent 84 6f7fe14782c2
child 88 f7edb3b90816
--- a/SConstruct	Sun Apr 27 09:44:49 2008 +0200
+++ b/SConstruct	Sun Apr 27 14:19:37 2008 +0200
@@ -91,7 +91,7 @@
 	global cpu, cpuflags_gcc, cpuflags_intelc
 	context.Message('Checking CPU arch and flags... ')
 	env.Execute('@$CC tools/cpuflags.c -o tools/cpuflags')
-	(cpu, cpuflags_gcc, cpuflags_intelc) = os.popen('tools/cpuflags %s %s'
+	(cpu, cpuflags_gcc, cpuflags_intelc) = os.popen('tools'+os.sep+'cpuflags %s %s'
 		% (''.join(gccversion.rsplit('.',1)), intelcversion) ).read().split('\n')[:3]
 	context.Result(cpu)
 	return True