aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index e6ed3b9..bf0c099 100644
--- a/Makefile
+++ b/Makefile
@@ -183,7 +183,7 @@ rebuild = 1
endif
else
ORIGINAL_CFLAGS := $(LAST_CFLAGS)
-CFLAGS := $(LAST_CFLAGS)
+CFLAGS += $(LAST_CFLAGS)
endif
ifneq ($(ORIGINAL_LDFLAGS),)
@@ -192,7 +192,7 @@ rebuild = 1
endif
else
ORIGINAL_LDFLAGS := $(LAST_LDFLAGS)
-LDFLAGS := $(LAST_LDFLAGS)
+LDFLAGS += $(LAST_LDFLAGS)
endif
ifneq ($(CC),)