From ee3d52d730d0159cf768611d91eac3a7d14a302e Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Mon, 11 Jun 2018 08:42:03 +0000 Subject: [PATCH] Disable building aesni with base gcc Because base gcc does not support the required intrinsics, do not attempt to compile the aesni module with it. Noticed by: Dan Allen MFC after: 3 days --- sys/modules/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/modules/Makefile b/sys/modules/Makefile index a742fcbbdd1a..cfe61308bc73 100644 --- a/sys/modules/Makefile +++ b/sys/modules/Makefile @@ -627,8 +627,10 @@ _aac= aac _aacraid= aacraid _acpi= acpi .if ${MK_CRYPT} != "no" || defined(ALL_MODULES) +.if ${COMPILER_TYPE} != "gcc" || ${COMPILER_VERSION} > 40201 _aesni= aesni .endif +.endif _amd_ecc_inject=amd_ecc_inject _amdsbwd= amdsbwd _amdsmn= amdsmn