From 7e0d6bdd872ec33a82c4f8cb4c04886e6162f2d0 Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Fri, 26 Apr 2013 17:33:56 +0200 Subject: [PATCH] don't overwrite ldflags/libs env vars --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index ff63173..1da71d4 100644 --- a/Makefile +++ b/Makefile @@ -11,8 +11,8 @@ MINGW = $(findstring MINGW32, $(UNAME)) CC ?= clang # linker flags and optional additional libraries if required -LDFLAGS := -LIBS := -lm +LDFLAGS += +LIBS += -lm CFLAGS += -Wall -Wextra -Werror -I. -fno-strict-aliasing $(OPTIONAL) ifneq ($(shell git describe --always 2>/dev/null),) -- 2.39.2