diff options
author | djsollen@google.com <djsollen@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-05-11 13:29:32 +0000 |
---|---|---|
committer | djsollen@google.com <djsollen@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-05-11 13:29:32 +0000 |
commit | 39a74751795351ee98b5bdb40510157eff4e4363 (patch) | |
tree | 9bfae60ff6f40dee82feea62fd68d93b2f2e08c2 | |
parent | f21c7041192a08c12a29f8a38da254c292f867c6 (diff) |
Set no rtti option to avoid warnings on Android.
git-svn-id: http://skia.googlecode.com/svn/trunk@3905 2bbb7eff-a529-9590-31e7-b0007b416f81
-rw-r--r-- | gyp/libjpeg.gyp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gyp/libjpeg.gyp b/gyp/libjpeg.gyp index dcf14509a2..77bc276c12 100644 --- a/gyp/libjpeg.gyp +++ b/gyp/libjpeg.gyp @@ -81,6 +81,11 @@ }, 'conditions': [ ['OS!="win"', {'product_name': 'jpeg'}], + ['OS=="android"', { + 'cflags!': [ + '-fno-rtti', # supresses warnings about invalid option of non-C++ code + ], + }], ], }, ], |