1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-17 04:52:59 +01:00

pkg/libfixmath: fix computations on 8bit architectures

This commit is contained in:
Alexandre Abadie 2019-11-11 15:30:06 +01:00
parent 8e281f8b02
commit b32dd168a1
No known key found for this signature in database
GPG Key ID: 1C919A403CAE1405

View File

@ -3,6 +3,10 @@ PKG_BUILDDIR ?= $(PKGDIRBASE)/libfixmath
# The static cache is huge, disable it.
CFLAGS += -DFIXMATH_NO_CACHE
ifneq (,$(filter arch_8bit,$(FEATURES_USED)))
CFLAGS += -DFIXMATH_OPTIMIZE_8BIT
endif
DIRS += $(PKG_BUILDDIR)/libfixmath
INCLUDES += -I$(PKG_BUILDDIR)/libfixmath