summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2022-04-14 10:26:14 -0500
committerMatt A. Tobin <email@mattatobin.com>2022-04-14 10:26:14 -0500
commit377389478034c48fce33badc51944e0d35186edd (patch)
tree951e34be7acdd9d8d1b5bbf7574dbb615e170ca3 /libs
parent4fa4c96748e8a342c5bedb94c5af0b6ed8b0ce35 (diff)
downloadaura-central-377389478034c48fce33badc51944e0d35186edd.tar.gz
No Issue - Use RTTI when building protobuf with GCC
Diffstat (limited to 'libs')
-rw-r--r--libs/protobuf/moz.build4
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/protobuf/moz.build b/libs/protobuf/moz.build
index 4f4705efd..771e95f6d 100644
--- a/libs/protobuf/moz.build
+++ b/libs/protobuf/moz.build
@@ -137,3 +137,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']