From 6acaa1ea2c310e18b27a341d8f0c25664528ddf7 Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Fri, 13 Sep 2019 14:05:46 +0200 Subject: [PATCH] Fix accuracy problem with generic kernels on x86_64 fixes #2257, which was caused by #2051. --- kernel/Makefile.L3 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/kernel/Makefile.L3 b/kernel/Makefile.L3 index f83def47b4..c903e0b400 100644 --- a/kernel/Makefile.L3 +++ b/kernel/Makefile.L3 @@ -24,9 +24,15 @@ ifeq ($(TARGET), LOONGSON3B) USE_TRMM = 1 endif +ifeq ($(DYNAMIC_ARCH), 1) ifeq ($(CORE), GENERIC) USE_TRMM = 1 endif +else +ifeq ($(TARGET), GENERIC) +USE_TRMM = 1 +endif +endif ifeq ($(CORE), HASWELL) USE_TRMM = 1