summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Moody <daniel.moody@mongodb.com>2020-10-20 19:04:52 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-10-22 02:39:04 +0000
commit9484c61ce65463aa35614081fa4eeaf53680d733 (patch)
treefe61d14175df96bff37b03dcaea552842a40225c
parentd81c2c914b3c3be9079af9c522060755df4ef946 (diff)
downloadmongo-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/SConscript1
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',