Revert #2051 and replace with a better fix (#2261)
authorMartin Kroeker <martin@ruby.chemie.uni-freiburg.de>
Tue, 17 Sep 2019 16:56:04 +0000 (18:56 +0200)
committerGitHub <noreply@github.com>
Tue, 17 Sep 2019 16:56:04 +0000 (18:56 +0200)
* Revert #2051 and add a better fix for TARGET=generic with DYNAMIC_ARCH
fixes #2257 without breaking #2048 again

kernel/Makefile.L3

index f83def4..7998c13 100644 (file)
@@ -24,9 +24,11 @@ ifeq ($(TARGET), LOONGSON3B)
 USE_TRMM = 1
 endif
 
-ifeq ($(CORE), GENERIC)
+ifneq ($(DYNAMIC_ARCH), 1)
+ifeq ($(TARGET), GENERIC)
 USE_TRMM = 1
 endif
+endif
 
 ifeq ($(CORE), HASWELL)
 USE_TRMM = 1