Bug 1634887 - Drop use of -fcxx-exceptions flag - makes RNP build with gcc. r=darktrojan a=wsmwk
authorRob Lemley <rob@thunderbird.net>
Thu, 07 May 2020 22:08:15 +0300
changeset 38142 4b214d7ec3a6489586d335147b1e48ab7f6c4851
parent 38141 f4d57e2c05620dfaed8fc54f70459cf8c304eb54
child 38143 8d538e189906fbb1d29408184735f3ac4ec52bcb
push id2602
push userkaie@kuix.de
push dateSun, 17 May 2020 18:03:23 +0000
treeherdercomm-beta@f78f85f503c0 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdarktrojan, wsmwk
bugs1634887
Bug 1634887 - Drop use of -fcxx-exceptions flag - makes RNP build with gcc. r=darktrojan a=wsmwk This flag is not supported by gcc.
third_party/rnp/moz.build
--- a/third_party/rnp/moz.build
+++ b/third_party/rnp/moz.build
@@ -32,21 +32,16 @@ COMPILE_FLAGS['WARNINGS_CFLAGS'] += [
     '-Wno-missing-field-initializers',
 ]
 
 if CONFIG['CC_TYPE'] == 'clang-cl':
     CXXFLAGS += [
         '-Xclang',
         '-fcxx-exceptions',
     ]
-else:
-    CXXFLAGS += [
-        '-fcxx-exceptions',
-    ]
-
 
 IQuote('{}/src/lib'.format(OBJDIR),
        '{}/src/lib'.format(SRCDIR),
        '{}/../json-c'.format(OBJDIR))
 
 
 DEFINES['_GNU_SOURCE'] = True