diff options
author | Sam Bingner <sam@bingner.com> | 2019-05-31 00:03:54 -1000 |
---|---|---|
committer | Sam Bingner <sam@bingner.com> | 2019-05-31 00:03:54 -1000 |
commit | 9c64d929e61153cd05fef8eb1e61d3ad2b2f46c1 (patch) | |
tree | 2c52039a3849784d3cf3d3ecd284c675d9b1e695 /data/node/xcode_emulation.diff | |
parent | f501927d7eaf972d525a608fde14570ca06d5279 (diff) |
Updates for node.js and libnghttp2
Diffstat (limited to 'data/node/xcode_emulation.diff')
-rw-r--r-- | data/node/xcode_emulation.diff | 77 |
1 files changed, 0 insertions, 77 deletions
diff --git a/data/node/xcode_emulation.diff b/data/node/xcode_emulation.diff deleted file mode 100644 index 527523dc2..000000000 --- a/data/node/xcode_emulation.diff +++ /dev/null @@ -1,77 +0,0 @@ -diff -ur node-chakracore-node-v10.13.0/tools/gyp/pylib/gyp/xcode_emulation.py node-chakracore-node-v10.13.0+iPhone/tools/gyp/pylib/gyp/xcode_emulation.py ---- node-chakracore-node-v10.13.0/tools/gyp/pylib/gyp/xcode_emulation.py 2018-11-17 00:31:08.000000000 +0000 -+++ node-chakracore-node-v10.13.0+iPhone/tools/gyp/pylib/gyp/xcode_emulation.py 2019-05-16 21:41:49.953754405 +0000 -@@ -500,9 +500,10 @@ - pass - - def _SdkRoot(self, configname): -- if configname is None: -- configname = self.configname -- return self.GetPerConfigSetting('SDKROOT', configname, default='') -+ return '' -+# if configname is None: -+# configname = self.configname -+# return self.GetPerConfigSetting('SDKROOT', configname, default='') - - def _XcodePlatformPath(self, configname=None): - sdk_root = self._SdkRoot(configname) -@@ -527,16 +528,17 @@ - return XcodeSettings._sdk_path_cache[sdk_root] - - def _AppendPlatformVersionMinFlags(self, lst): -- self._Appendf(lst, 'MACOSX_DEPLOYMENT_TARGET', '-mmacosx-version-min=%s') -- if 'IPHONEOS_DEPLOYMENT_TARGET' in self._Settings(): -- # TODO: Implement this better? -- sdk_path_basename = os.path.basename(self._SdkPath()) -- if sdk_path_basename.lower().startswith('iphonesimulator'): -- self._Appendf(lst, 'IPHONEOS_DEPLOYMENT_TARGET', -- '-mios-simulator-version-min=%s') -- else: -- self._Appendf(lst, 'IPHONEOS_DEPLOYMENT_TARGET', -- '-miphoneos-version-min=%s') -+ True -+# self._Appendf(lst, 'MACOSX_DEPLOYMENT_TARGET', '-mmacosx-version-min=%s') -+# if 'IPHONEOS_DEPLOYMENT_TARGET' in self._Settings(): -+# # TODO: Implement this better? -+# sdk_path_basename = os.path.basename(self._SdkPath()) -+# if sdk_path_basename.lower().startswith('iphonesimulator'): -+# self._Appendf(lst, 'IPHONEOS_DEPLOYMENT_TARGET', -+# '-mios-simulator-version-min=%s') -+# else: -+# self._Appendf(lst, 'IPHONEOS_DEPLOYMENT_TARGET', -+# '-miphoneos-version-min=%s') - - def GetCflags(self, configname, arch=None): - """Returns flags that need to be added to .c, .cc, .m, and .mm -@@ -548,8 +550,8 @@ - cflags = [] - - sdk_root = self._SdkPath() -- if 'SDKROOT' in self._Settings() and sdk_root: -- cflags.append('-isysroot %s' % sdk_root) -+# if 'SDKROOT' in self._Settings() and sdk_root: -+# cflags.append('-isysroot %s' % sdk_root) - - if self.header_map_path: - cflags.append('-I%s' % self.header_map_path) -@@ -873,8 +875,8 @@ - - self._AppendPlatformVersionMinFlags(ldflags) - -- if 'SDKROOT' in self._Settings() and self._SdkPath(): -- ldflags.append('-isysroot ' + self._SdkPath()) -+# if 'SDKROOT' in self._Settings() and self._SdkPath(): -+# ldflags.append('-isysroot ' + self._SdkPath()) - - for library_path in self._Settings().get('LIBRARY_SEARCH_PATHS', []): - ldflags.append('-L' + gyp_to_build_path(library_path)) -@@ -1407,7 +1409,8 @@ - if version: - version = re.match(r'(\d+\.\d+\.?\d*)', version).groups()[0] - else: -- raise GypError("No Xcode or CLT version detected!") -+ version = '10.6' -+# raise GypError("No Xcode or CLT version detected!") - # The CLT has no build information, so we return an empty string. - version_list = [version, ''] - version = version_list[0] |