aboutsummaryrefslogtreecommitdiff
path: root/devel/godot2/files/patch-SConstruct
diff options
context:
space:
mode:
Diffstat (limited to 'devel/godot2/files/patch-SConstruct')
-rw-r--r--devel/godot2/files/patch-SConstruct36
1 files changed, 0 insertions, 36 deletions
diff --git a/devel/godot2/files/patch-SConstruct b/devel/godot2/files/patch-SConstruct
deleted file mode 100644
index 653fed2d4ab7..000000000000
--- a/devel/godot2/files/patch-SConstruct
+++ /dev/null
@@ -1,36 +0,0 @@
---- SConstruct.orig 2019-07-08 12:01:42 UTC
-+++ SConstruct
-@@ -65,7 +65,7 @@ elif (os.name == "nt"):
- if (os.getenv("VCINSTALLDIR") == None or platform_arg == "android" or platform_arg == "javascript"):
- custom_tools = ['mingw']
-
--env_base = Environment(tools=custom_tools)
-+env_base = Environment(tools=custom_tools, ENV = os.environ)
- if 'TERM' in os.environ:
- env_base['ENV']['TERM'] = os.environ['TERM']
- env_base.AppendENVPath('PATH', os.getenv('PATH'))
-@@ -272,15 +272,16 @@ if selected_platform in platform_list:
- if env["extra_suffix"] != '':
- env.extra_suffix += '.' + env["extra_suffix"]
-
-- CCFLAGS = env.get('CCFLAGS', '')
-- env['CCFLAGS'] = ''
--
-- env.Append(CCFLAGS=str(CCFLAGS).split())
--
-- CFLAGS = env.get('CFLAGS', '')
-- env['CFLAGS'] = ''
--
-+ env['CC'] = os.environ['CC']
-+ env['CXX'] = os.environ['CXX']
-+
-+ CFLAGS = os.environ['CFLAGS']
-+ env['CFLAGS'] = []
- env.Append(CFLAGS=str(CFLAGS).split())
-+
-+ CCFLAGS = os.environ['CXXFLAGS']
-+ env['CCFLAGS'] = []
-+ env.Append(CCFLAGS=str(CCFLAGS).split())
-
- LINKFLAGS = env.get('LINKFLAGS', '')
- env['LINKFLAGS'] = ''