HLS: Do not link against math lib if not needed
@@ -27,7 +27,7 @@ include ../../../software/config.mk
CFLAGS += -std=c99 -I../../../software/include
DESTDIR ?= /usr
libs += ../../../software/lib/libsnap.a
-LDLIBS += $(libs) -lpthread -lm
+LDLIBS += $(libs) -lpthread
# Link statically for PSLSE simulation and dynamically for real version
ifdef BUILD_SIMCODE
