aboutsummaryrefslogtreecommitdiff
path: root/sys/modules
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2021-09-03 10:41:44 +0000
committerDimitry Andric <dim@FreeBSD.org>2021-09-03 17:03:47 +0000
commitedc7b289b2b2681ec65c80011540fa17e1799936 (patch)
tree6888551c5cd801b62defcd06740bb750d0d922c8 /sys/modules
parentcc110974c4edae799e2682afcd32cbfc094e6237 (diff)
downloadsrc-edc7b289b2b2681ec65c80011540fa17e1799936.tar.gz
src-edc7b289b2b2681ec65c80011540fa17e1799936.zip
Revert the changes that removed support for old gcc, as stable/12 still
uses gcc 4.2.1 for mips, powerpc and sparc64. Revert "Revert part of r360964" This reverts commit 2ebf10e7a1ced5d3dc4059d0595743277464d915. Revert "Remove tests for obsolete compilers in the build system" This reverts commit a606cb388f975561c37dbabc2fee82c27ef09929.
Diffstat (limited to 'sys/modules')
-rw-r--r--sys/modules/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/modules/Makefile b/sys/modules/Makefile
index 61603cf32ab4..f4b7d4f8a5bd 100644
--- a/sys/modules/Makefile
+++ b/sys/modules/Makefile
@@ -684,8 +684,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