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:
parent
8e281f8b02
commit
b32dd168a1
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user