From 580112a2b6f97e5b24be53a38c7c857cbc3446c3 Mon Sep 17 00:00:00 2001 From: Test_User Date: Tue, 13 Aug 2024 01:21:28 -0400 Subject: Fix broken restoring of saved CFLAGS and LDFLAGS --- Makefile | 4 ++-- 1 file 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),) -- cgit v1.2.3