diff options
author | Moonchild <moonchild@palemoon.org> | 2022-04-07 13:38:57 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2022-04-07 13:38:57 +0000 |
commit | 02afcba61492797f77d54bde3c919e59b2772036 (patch) | |
tree | db129ccaef7693cf21d5a8f225fd0720262bb1a6 /toolkit | |
parent | 429a4cd9d7b9683df3a041ecc9edad12230165bc (diff) | |
parent | aed6c5eb627308da3d4320c6349cec3535126e03 (diff) | |
download | uxp-02afcba61492797f77d54bde3c919e59b2772036.tar.gz |
Merge pull request 'Use RTTI when building protobuf with GCC' (#1849) from trav90/UXP-contrib:build-system-work into master
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/1849
Diffstat (limited to 'toolkit')
-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'] |