From 75509c838f6886846d1e3f598b3ad75bf90ee30e Mon Sep 17 00:00:00 2001 From: Joakim Gebart Date: Wed, 22 Jul 2015 09:49:28 +0200 Subject: [PATCH] tests/libfixmath_unittests: Add linking with -lm for native --- tests/libfixmath_unittests/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/libfixmath_unittests/Makefile b/tests/libfixmath_unittests/Makefile index 5ded8d552..c4e1df630 100644 --- a/tests/libfixmath_unittests/Makefile +++ b/tests/libfixmath_unittests/Makefile @@ -13,4 +13,8 @@ BOARD_INSUFFICIENT_RAM += redbee-econotag stm32f0discovery USEMODULE += libfixmath-unittests +ifneq (,$(filter native qemu-i386,$(BOARD))) + export LINKFLAGS += -lm +endif + include $(RIOTBASE)/Makefile.include