about summary refs log tree commit diff
path: root/pkgs/development/python-modules/gyp
diff options
context:
space:
mode:
authorShea Levy <shea@shealevy.com>2013-05-28 18:27:53 -0400
committerShea Levy <shea@shealevy.com>2013-05-28 18:38:22 -0400
commit47cbc4cead4ab5f62d20c17d247827c9f38bee8b (patch)
treec445003bea6f2a36fc20d1cfd76d1df72518de91 /pkgs/development/python-modules/gyp
parent2794d74506d1a4122e30bd4d8cd52d07280d155c (diff)
downloadnixlib-47cbc4cead4ab5f62d20c17d247827c9f38bee8b.tar
nixlib-47cbc4cead4ab5f62d20c17d247827c9f38bee8b.tar.gz
nixlib-47cbc4cead4ab5f62d20c17d247827c9f38bee8b.tar.bz2
nixlib-47cbc4cead4ab5f62d20c17d247827c9f38bee8b.tar.lz
nixlib-47cbc4cead4ab5f62d20c17d247827c9f38bee8b.tar.xz
nixlib-47cbc4cead4ab5f62d20c17d247827c9f38bee8b.tar.zst
nixlib-47cbc4cead4ab5f62d20c17d247827c9f38bee8b.zip
Missed some darwin cflags in gyp
Signed-off-by: Shea Levy <shea@shealevy.com>
Diffstat (limited to 'pkgs/development/python-modules/gyp')
-rw-r--r--pkgs/development/python-modules/gyp/no-darwin-cflags.patch17
1 files changed, 15 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/gyp/no-darwin-cflags.patch b/pkgs/development/python-modules/gyp/no-darwin-cflags.patch
index 4f95e78a1715..d81ea0d1c12a 100644
--- a/pkgs/development/python-modules/gyp/no-darwin-cflags.patch
+++ b/pkgs/development/python-modules/gyp/no-darwin-cflags.patch
@@ -22,7 +22,20 @@ Index: gyp/pylib/gyp/xcode_emulation.py
      self._Appendf(cflags, 'GCC_OPTIMIZATION_LEVEL', '-O%s', default='s')
  
      if self._Test('GCC_GENERATE_DEBUGGING_SYMBOLS', 'YES', default='YES'):
-@@ -334,7 +328,6 @@
+@@ -311,12 +305,6 @@
+     if self._Test('GCC_SYMBOLS_PRIVATE_EXTERN', 'YES', default='NO'):
+       cflags.append('-fvisibility=hidden')
+ 
+-    if self._Test('GCC_TREAT_WARNINGS_AS_ERRORS', 'YES', default='NO'):
+-      cflags.append('-Werror')
+-
+-    if self._Test('GCC_WARN_ABOUT_MISSING_NEWLINE', 'YES', default='NO'):
+-      cflags.append('-Wnewline-eof')
+-
+     self._AppendPlatformVersionMinFlags(cflags)
+ 
+     # TODO:
+@@ -334,7 +322,6 @@
        # TODO: Supporting fat binaries will be annoying.
        self._WarnUnimplemented('ARCHS')
        archs = ['i386']
@@ -30,7 +43,7 @@ Index: gyp/pylib/gyp/xcode_emulation.py
  
      if archs[0] in ('i386', 'x86_64'):
        if self._Test('GCC_ENABLE_SSE3_EXTENSIONS', 'YES', default='NO'):
-@@ -570,7 +563,6 @@
+@@ -570,7 +557,6 @@
        # TODO: Supporting fat binaries will be annoying.
        self._WarnUnimplemented('ARCHS')
        archs = ['i386']