mongodb/SOURCES/ppc64le-fix-altivec.patch

14 lines
650 B
Diff

diff --git a/SConstruct b/SConstruct
index 4d52f24b85..06ce2bf6f4 100644
--- a/SConstruct
+++ b/SConstruct
@@ -3116,7 +3116,7 @@ def doConfigure(myenv):
outputIndex = next((idx for idx in [0,1] if conf.CheckAltivecVbpermqOutput(idx)), None)
if outputIndex is not None:
- conf.env.SetConfigHeaderDefine("MONGO_CONFIG_ALTIVEC_VEC_VBPERMQ_OUTPUT_INDEX", outputIndex)
+ conf.env.SetConfigHeaderDefine("MONGO_CONFIG_ALTIVEC_VEC_VBPERMQ_OUTPUT_INDEX", outputIndex)
else:
myenv.ConfError("Running on ppc64le, but can't find a correct vec_vbpermq output index. Compiler or platform not supported")