summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index eb77cfe5..e025907f 100644
--- a/Makefile
+++ b/Makefile
@@ -154,7 +154,7 @@ CFLAGS += -DCHROMEOS_ENVIRONMENT ${COMMON_FLAGS}
endif
# Needs -Wl because LD is actually set to CC by default.
-LDFLAGS ?= -Wl,--gc-sections
+LDFLAGS += -Wl,--gc-sections
ifneq (${DEBUG},)
CFLAGS += -DVBOOT_DEBUG