at master 1.5 kB view raw
1Index: gyp/pylib/gyp/xcode_emulation.py 2=================================================================== 3--- gyp/pylib/gyp/xcode_emulation.py 4+++ gyp/pylib/gyp/xcode_emulation.py 5@@ -483,9 +483,6 @@ 6 if self._Test('GCC_CHAR_IS_UNSIGNED_CHAR', 'YES', default='NO'): 7 cflags.append('-funsigned-char') 8 9- if self._Test('GCC_CW_ASM_SYNTAX', 'YES', default='YES'): 10- cflags.append('-fasm-blocks') 11- 12 if 'GCC_DYNAMIC_NO_PIC' in self._Settings(): 13 if self._Settings()['GCC_DYNAMIC_NO_PIC'] == 'YES': 14 cflags.append('-mdynamic-no-pic') 15@@ -495,9 +492,6 @@ 16 # mdynamic-no-pic by default for executable and possibly static lib 17 # according to mento 18 19- if self._Test('GCC_ENABLE_PASCAL_STRINGS', 'YES', default='YES'): 20- cflags.append('-mpascal-strings') 21- 22 self._Appendf(cflags, 'GCC_OPTIMIZATION_LEVEL', '-O%s', default='s') 23 24 if self._Test('GCC_GENERATE_DEBUGGING_SYMBOLS', 'YES', default='YES'): 25@@ -553,7 +541,6 @@ 26 # TODO: Supporting fat binaries will be annoying. 27 self._WarnUnimplemented('ARCHS') 28 archs = ['i386'] 29- cflags.append('-arch ' + archs[0]) 30 31 if archs[0] in ('i386', 'x86_64'): 32 if self._Test('GCC_ENABLE_SSE3_EXTENSIONS', 'YES', default='NO'): 33@@ -811,7 +798,6 @@ 34 # TODO: Supporting fat binaries will be annoying. 35 self._WarnUnimplemented('ARCHS') 36 archs = ['i386'] 37- ldflags.append('-arch ' + archs[0]) 38 39 # Xcode adds the product directory by default. 40 ldflags.append('-L' + product_dir)