Revert #2051 and add a better fix for TARGET=generic with DYNAMIC_ARCH

fixes #2257 without breaking #2048 again
This commit is contained in:
Martin Kroeker 2019-09-14 21:29:19 +02:00 committed by GitHub
parent 2a1911cc14
commit 92b4609f6e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View 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