diff options
author | Andrew Morrow <acm@mongodb.com> | 2021-02-03 22:24:56 -0500 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-02-23 15:58:25 +0000 |
commit | 93bc7e374ba62439469d2f7b1bdbf47d50ed4422 (patch) | |
tree | 5af9f0deff1706ab620c7e85d6a34ff4c5a7c7ce | |
parent | 9219f1039a6a976ba4a8e9f4b684f17e47b6c5f9 (diff) | |
download | mongo-93bc7e374ba62439469d2f7b1bdbf47d50ed4422.tar.gz |
SERVER-51722 Enable -moutline-atomics on aarch64
(cherry picked from commit 63a5a847c4ef2864e27cd406812bf47921d16e73)
-rw-r--r-- | SConstruct | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct index c70dca76e88..631720209a1 100644 --- a/SConstruct +++ b/SConstruct @@ -3899,6 +3899,9 @@ def doConfigure(myenv): myenv = conf.Finish() + if env['TARGET_ARCH'] == "aarch64": + AddToCCFLAGSIfSupported(myenv, "-moutline-atomics") + conf = Configure(myenv) usdt_enabled = get_option('enable-usdt-probes') usdt_provider = None |