diff options
author | kbr@chromium.org <kbr@chromium.org@736b8ea6-26fd-11df-bfd4-992fa37f6226> | 2011-06-02 00:23:44 +0000 |
---|---|---|
committer | kbr@chromium.org <kbr@chromium.org@736b8ea6-26fd-11df-bfd4-992fa37f6226> | 2011-06-02 00:23:44 +0000 |
commit | fe2aff1094d9d3129b5d919b0da983e1330ce040 (patch) | |
tree | e883b1acbbd6e9121a1602df865783b488a8dd8c /build | |
parent | c6be226451953ebfa26ebb511725d4b982a25504 (diff) | |
download | angle-fe2aff1094d9d3129b5d919b0da983e1330ce040.tar.gz |
Redid gyp changes in last commit to support debugging of samples on
Linux. Fixed bug in translator sample where it was confusing arguments
and filenames on POSIX platforms.
Review URL: http://codereview.appspot.com/4532108
git-svn-id: https://angleproject.googlecode.com/svn/trunk@665 736b8ea6-26fd-11df-bfd4-992fa37f6226
Diffstat (limited to 'build')
-rw-r--r-- | build/common.gypi | 27 |
1 files changed, 26 insertions, 1 deletions
diff --git a/build/common.gypi b/build/common.gypi index 20c85f7f..8682410e 100644 --- a/build/common.gypi +++ b/build/common.gypi @@ -87,7 +87,32 @@ 'target_defaults': { 'msvs_cygwin_dirs': ['../third_party/cygwin'], }, - }] + }], + ['OS!="win" and OS!="mac"', { + 'target_defaults': { + 'cflags': [ + '-pthread', + '-fno-exceptions', + ], + 'ldflags': [ + '-pthread', + ], + 'configurations': { + 'Debug': { + 'variables': { + 'debug_optimize%': '0', + }, + 'defines': [ + '_DEBUG', + ], + 'cflags': [ + '-O>(debug_optimize)', + '-g', + ], + } + }, + }, + }], ], } |