From 04bf833cd026efd9bede4f2c113cfb347861857d Mon Sep 17 00:00:00 2001 From: "Iain R. Learmonth" Date: Sun, 29 May 2016 15:55:19 +0100 Subject: [PATCH] Do not overwrite existing CFLAGS and LDFLAGS --- Makefile.linux | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.linux b/Makefile.linux index be9bd59..f51f3bd 100644 --- a/Makefile.linux +++ b/Makefile.linux @@ -12,9 +12,9 @@ all : $(APPS) direwolf.desktop direwolf.conf @echo " " CC := gcc -CFLAGS := -O3 -pthread -Igeotranz +CFLAGS += -O3 -pthread -Igeotranz -LDFLAGS := -lm -lpthread -lrt +LDFLAGS += -lm -lpthread -lrt