diff options
author | Shea Levy <shea@shealevy.com> | 2013-05-28 18:27:53 -0400 |
---|---|---|
committer | Shea Levy <shea@shealevy.com> | 2013-05-28 18:38:22 -0400 |
commit | 47cbc4cead4ab5f62d20c17d247827c9f38bee8b (patch) | |
tree | c445003bea6f2a36fc20d1cfd76d1df72518de91 /pkgs/development/python-modules/gyp/no-darwin-cflags.patch | |
parent | 2794d74506d1a4122e30bd4d8cd52d07280d155c (diff) |
Missed some darwin cflags in gyp
Signed-off-by: Shea Levy <shea@shealevy.com>
Diffstat (limited to 'pkgs/development/python-modules/gyp/no-darwin-cflags.patch')
-rw-r--r-- | pkgs/development/python-modules/gyp/no-darwin-cflags.patch | 17 |
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 4f95e78a17154..d81ea0d1c12a9 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'] |