diff options
author | Daniel Moody <daniel.moody@mongodb.com> | 2020-10-20 19:04:52 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-10-22 02:39:04 +0000 |
commit | 9484c61ce65463aa35614081fa4eeaf53680d733 (patch) | |
tree | fe61d14175df96bff37b03dcaea552842a40225c | |
parent | d81c2c914b3c3be9079af9c522060755df4ef946 (diff) | |
download | mongo-9484c61ce65463aa35614081fa4eeaf53680d733.tar.gz |
SERVER-51771 added explicit -fcommon option so libunwind will build with GCC >=10.2
(cherry picked from commit 15542a4c9a523ff58ea0a0c5d40b834dee304bfa)
-rw-r--r-- | src/third_party/unwind/SConscript | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/third_party/unwind/SConscript b/src/third_party/unwind/SConscript index ed947c8e8e8..7308956f011 100644 --- a/src/third_party/unwind/SConscript +++ b/src/third_party/unwind/SConscript @@ -90,6 +90,7 @@ if env['TARGET_ARCH'] == 'aarch64': env.Append( CCFLAGS=[ + '-fcommon', '-fexceptions', '-Wno-unused-result', '-Wno-unused-value', |