mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 09:32:32 +01:00
SERVER-24566 Debug build fails in configure
This commit is contained in:
parent
8b66399b85
commit
9a8cc77285
@ -2338,7 +2338,7 @@ def doConfigure(myenv):
|
||||
else:
|
||||
myenv.ConfError("Don't know how to enable --lto on current toolchain")
|
||||
|
||||
if get_option('runtime-hardening') == "on":
|
||||
if get_option('runtime-hardening') == "on" and optBuild:
|
||||
# Older glibc doesn't work well with _FORTIFY_SOURCE=2. Selecting 2.11 as the minimum was an
|
||||
# emperical decision, as that is the oldest non-broken glibc we seem to require. It is possible
|
||||
# that older glibc's work, but we aren't trying.
|
||||
|
Loading…
Reference in New Issue
Block a user