]> git.rm.cloudns.org Git - xonotic/gmqcc.git/commitdiff
don't overwrite ldflags/libs env vars
authorWolfgang Bumiller <blub@speed.at>
Fri, 26 Apr 2013 15:33:56 +0000 (17:33 +0200)
committerWolfgang Bumiller <blub@speed.at>
Fri, 26 Apr 2013 15:33:56 +0000 (17:33 +0200)
Makefile

index ff63173cdba2aa975e43c7b066c4232ecb6700e3..1da71d445a9e64489e43d931f6e74f36dd672800 100644 (file)
--- 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),)