diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2021-09-03 10:41:44 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2021-09-03 17:03:47 +0000 |
commit | edc7b289b2b2681ec65c80011540fa17e1799936 (patch) | |
tree | 6888551c5cd801b62defcd06740bb750d0d922c8 /sys/modules | |
parent | cc110974c4edae799e2682afcd32cbfc094e6237 (diff) | |
download | src-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/Makefile | 2 |
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 |