From 0d75b4130a70f7e77ec82f99b892762a97249e9b Mon Sep 17 00:00:00 2001 From: Sophie Brun Date: Tue, 11 Feb 2020 17:02:17 +0100 Subject: [PATCH] Add missing flags pie Last-Update: 2022-02-11 Gbp-Pq: Name add-missing-flags-pie.patch --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 85e36a8..c75c10f 100644 --- a/Makefile +++ b/Makefile @@ -181,7 +181,7 @@ COMMON_FLAGS += $(call test_ccflag,-Wno-address-of-packed-member) COMMON_FLAGS += $(call test_ccflag,-Wno-unknown-warning) # Needs -Wl because LD is actually set to CC by default. -LDFLAGS += -Wl,--gc-sections +LDFLAGS += -Wl,--gc-sections -pie ifneq ($(filter-out 0,${DEBUG})$(filter-out 0,${TEST_PRINT}),) CFLAGS += -DVBOOT_DEBUG -- 2.30.2