]> git.xonotic.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:44:44 +0000 (17:44 +0200)
Makefile

index 6a9ccd87284b5a79e89251ba599b01d0e3ed97d0..35b825a1f917a9d0a74898471f54c2a4d2db1d54 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -11,8 +11,8 @@ MINGW   = $(findstring MINGW32, $(UNAME))
 
 CC      ?= clang
 # linker flags and optional additional libraries if required
 
 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),)
 
 CFLAGS  += -Wall -Wextra -Werror -fno-strict-aliasing $(OPTIONAL)
 ifneq ($(shell git describe --always 2>/dev/null),)