From: Wolfgang Bumiller Date: Fri, 26 Apr 2013 15:33:56 +0000 (+0200) Subject: don't overwrite ldflags/libs env vars X-Git-Tag: 0.2.9~2 X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fgmqcc.git;a=commitdiff_plain;h=5007fd7f7150addee29bfc5077fc8b25c1288d59 don't overwrite ldflags/libs env vars --- diff --git a/Makefile b/Makefile index 6a9ccd8..35b825a 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 -fno-strict-aliasing $(OPTIONAL) ifneq ($(shell git describe --always 2>/dev/null),)