From: Sophie Brun Date: Tue, 11 Feb 2020 16:02:17 +0000 (+0100) Subject: Add missing flags pie X-Git-Tag: archive/raspbian/0_R99-14469.B-2+rpi1~1^2~3 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=0d75b4130a70f7e77ec82f99b892762a97249e9b;p=vboot-utils.git Add missing flags pie Last-Update: 2022-02-11 Gbp-Pq: Name add-missing-flags-pie.patch --- 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