summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjiayl@chromium.org <jiayl@chromium.org>2014-09-19 18:13:05 +0000
committerjiayl@chromium.org <jiayl@chromium.org>2014-09-19 18:13:05 +0000
commit8207bf3f9c7487c509e135b958aa77b297e9cfae (patch)
tree7135c9dd1fe47539a7fb589ebccace6aec708b36
parentdcc1fc62771b4f25fa5f91cddec8e9a491d0ee6d (diff)
downloadlibsrtp-8207bf3f9c7487c509e135b958aa77b297e9cfae.tar.gz
Replace compiling flag "-O3" with "-O2" to avoid a compiler bug that caused a crash.
TBR=sergeyu@chromium.org BUG=414919 Review URL: https://codereview.chromium.org/589623002 git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libsrtp@292047 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
-rw-r--r--libsrtp.gyp9
1 files changed, 9 insertions, 0 deletions
diff --git a/libsrtp.gyp b/libsrtp.gyp
index fd6f204..2fb0bcd 100644
--- a/libsrtp.gyp
+++ b/libsrtp.gyp
@@ -55,6 +55,15 @@
# test applications and libjingle.
'CPU_CISC',
],
+ # TODO(jiayl): There seems to be a bug in the compiler that causes a
+ # crash (crbug/414919) using -O3. Remove this change once the compiler
+ # is fixed.
+ 'cflags!': [
+ '-O3',
+ ],
+ 'cflags': [
+ '-O2',
+ ],
}],
['target_arch=="mipsel" or target_arch=="mips64el"', {
'defines': [