diff --git a/builder/imports/awslc.py b/builder/imports/awslc.py index 6c0737a71..60407687a 100644 --- a/builder/imports/awslc.py +++ b/builder/imports/awslc.py @@ -57,6 +57,6 @@ def cmake_args(self, env): if env.spec.compiler == 'gcc' and env.spec.compiler_version.startswith('4.'): # Disable AVX512 on old GCC for aws-lc # Not disable PERL for old GCC to avoid the pre-compiled binary with AVX512 - return super().cmake_args(env) + ['-DMY_ASSEMBLER_IS_TOO_OLD_FOR_512AVX=ON'] + return super().cmake_args(env) + ['-DDISABLE_PERL=ON', '-DMY_ASSEMBLER_IS_TOO_OLD_FOR_512AVX=ON'] else: return super().cmake_args(env) + ['-DDISABLE_PERL=ON']