From f1ce0f44e49174eb21e529543ba13d52aa463109 Mon Sep 17 00:00:00 2001 From: beyondcoast Date: Wed, 2 Jan 2019 15:18:59 -0600 Subject: [PATCH] Fix -lm order in to unbreak Linux build --- host/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/host/Makefile b/host/Makefile index 23b6629..121b8b6 100644 --- a/host/Makefile +++ b/host/Makefile @@ -3,7 +3,7 @@ CFLAGS=-Wall -O LDFLAGS= -llua -lusb-1.0 -Lsource/lua INCLUDE= -I ./include -I ../shared LDFLAGS_WINDOWS= -L ./winlib $(LDFLAGS) -LDFLAGS_UNIX= -lm $(LDFLAGS) +LDFLAGS_UNIX= $(LDFLAGS) -lm CC= gcc SOURCES=$(wildcard source/*.c)