diff options
author | Travis W <travawine@palemoon.org> | 2022-04-07 13:15:18 +0000 |
---|---|---|
committer | Travis W <travawine@palemoon.org> | 2022-04-07 13:15:18 +0000 |
commit | aed6c5eb627308da3d4320c6349cec3535126e03 (patch) | |
tree | db129ccaef7693cf21d5a8f225fd0720262bb1a6 | |
parent | 429a4cd9d7b9683df3a041ecc9edad12230165bc (diff) | |
download | uxp-aed6c5eb627308da3d4320c6349cec3535126e03.tar.gz |
Issue #1846 - Use RTTI when building protobuf with GCC
-rw-r--r-- | toolkit/components/protobuf/moz.build | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/toolkit/components/protobuf/moz.build b/toolkit/components/protobuf/moz.build index 7d1f9804d1..9c417ac718 100644 --- a/toolkit/components/protobuf/moz.build +++ b/toolkit/components/protobuf/moz.build @@ -136,3 +136,7 @@ if CONFIG['MOZ_USE_PTHREADS']: DEFINES['HAVE_ZLIB'] = True CXXFLAGS += CONFIG['TK_CFLAGS'] + +# protobuf wants RTTI on gcc +if CONFIG['GNU_CXX']: + CXXFLAGS += ['-frtti'] |