git.iko.soy/typeable/nixpkgs
on master help sign in
gyp: fix cflags on darwin
commit17898cf533203035122ddc454e5bc1478762330d authorMichael Phillips <michaelalanphillips@gmail.com> dateMon 22 Jun 2015, 18:17 (11 years ago) parent723cd51
1 file changed+10−10
pkgs/development/python-modules/gyp/no-darwin-cflags.patch+10−10
pkgs/development/python-modules/gyp/no-darwin-cflags.patch+10−10
@@ -1,8 +1,8 @@
11Index: gyp/pylib/gyp/xcode_emulation.py
22===================================================================
3−--- gyp/pylib/gyp/xcode_emulation.py (revision 1635)
4−+++ gyp/pylib/gyp/xcode_emulation.py (working copy)
5−@@ -280,9 +280,6 @@
3+--- gyp/pylib/gyp/xcode_emulation.py
4++++ gyp/pylib/gyp/xcode_emulation.py
5+@@ -483,9 +483,6 @@
66 if self._Test('GCC_CHAR_IS_UNSIGNED_CHAR', 'YES', default='NO'):
77 cflags.append('-funsigned-char')
88
@@ -12,7 +12,7 @@ Index: gyp/pylib/gyp/xcode_emulation.py
1212 if 'GCC_DYNAMIC_NO_PIC' in self._Settings():
1313 if self._Settings()['GCC_DYNAMIC_NO_PIC'] == 'YES':
1414 cflags.append('-mdynamic-no-pic')
15−@@ -292,9 +289,6 @@
15+@@ -495,9 +492,6 @@
1616 # mdynamic-no-pic by default for executable and possibly static lib
1717 # according to mento
1818
@@ -22,7 +22,7 @@ Index: gyp/pylib/gyp/xcode_emulation.py
2222 self._Appendf(cflags, 'GCC_OPTIMIZATION_LEVEL', '-O%s', default='s')
2323
2424 if self._Test('GCC_GENERATE_DEBUGGING_SYMBOLS', 'YES', default='YES'):
25−@@ -311,12 +305,6 @@
25+@@ -519,12 +513,6 @@
2626 if self._Test('GCC_SYMBOLS_PRIVATE_EXTERN', 'YES', default='NO'):
2727 cflags.append('-fvisibility=hidden')
2828
@@ -32,10 +32,10 @@ Index: gyp/pylib/gyp/xcode_emulation.py
3232- if self._Test('GCC_WARN_ABOUT_MISSING_NEWLINE', 'YES', default='NO'):
3333- cflags.append('-Wnewline-eof')
3434-
35− self._AppendPlatformVersionMinFlags(cflags)
36−
37− # TODO:
38−@@ -334,7 +322,6 @@
35+ # In Xcode, this is only activated when GCC_COMPILER_VERSION is clang or
36+ # llvm-gcc. It also requires a fairly recent libtool, and
37+ # if the system clang isn't used, DYLD_LIBRARY_PATH needs to contain the
38+@@ -553,7 +541,6 @@
3939 # TODO: Supporting fat binaries will be annoying.
4040 self._WarnUnimplemented('ARCHS')
4141 archs = ['i386']
@@ -43,7 +43,7 @@ Index: gyp/pylib/gyp/xcode_emulation.py
4343
4444 if archs[0] in ('i386', 'x86_64'):
4545 if self._Test('GCC_ENABLE_SSE3_EXTENSIONS', 'YES', default='NO'):
46−@@ -570,7 +557,6 @@
46+@@ -811,7 +798,6 @@
4747 # TODO: Supporting fat binaries will be annoying.
4848 self._WarnUnimplemented('ARCHS')
4949 archs = ['i386']