Disable EXPRECISION for DYNAMIC_ARCH in combination with TARGET=GENERIC

NO_EXPRECISION is disabled for the GENERIC_TARGET already, so prevent mixing with code parts that use a different float size by default
This commit is contained in:
Martin Kroeker 2020-11-01 21:58:26 +01:00 committed by GitHub
parent 9efc3f0815
commit 40a93c232b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -93,6 +93,11 @@ endif
ifdef TARGET
GETARCH_FLAGS := -DFORCE_$(TARGET)
GETARCH_FLAGS += -DUSER_TARGET
ifeq ($(TARGET), GENERIC)
ifeq ($(DYNAMIC_ARCH), 1)
override NO_EXPRECISION=1
endif
endif
endif
# Force fallbacks for 32bit