diff options
author | Juan Linietsky <reduzio@gmail.com> | 2015-01-03 13:03:13 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2015-01-03 13:03:13 -0300 |
commit | 6b5b95bb4e269a1bd740707e27eae09983b84268 (patch) | |
tree | aa0c80dd4d683eaa99e1ad804d8d742f369bdd73 /SConstruct | |
parent | 85c084c7707c4b9cac978bc0caec0a76b5e37818 (diff) | |
download | redot-engine-6b5b95bb4e269a1bd740707e27eae09983b84268.tar.gz |
-added new code completion guess locations, closes #1032
-moved commandline fix to mingw-only, should fix #1064
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/SConstruct b/SConstruct index f5aa0cd1bd..b9f2b7e2c4 100644 --- a/SConstruct +++ b/SConstruct @@ -170,26 +170,6 @@ if selected_platform in platform_list: else: env = env_base.Clone() - # Workaround for MinGW. See: - # http://www.scons.org/wiki/LongCmdLinesOnWin32 - if (os.name=="nt"): - import subprocess - def mySpawn(sh, escape, cmd, args, env): - newargs = ' '.join(args[1:]) - cmdline = cmd + " " + newargs - startupinfo = subprocess.STARTUPINFO() - startupinfo.dwFlags |= subprocess.STARTF_USESHOWWINDOW - proc = subprocess.Popen(cmdline, stdin=subprocess.PIPE, stdout=subprocess.PIPE, - stderr=subprocess.PIPE, startupinfo=startupinfo, shell = False, env = env) - data, err = proc.communicate() - rv = proc.wait() - if rv: - print "=====" - print err - print "=====" - return rv - env['SPAWN'] = mySpawn - env.extra_suffix="" CCFLAGS = env.get('CCFLAGS', '') |