Add missing flags pie
authorSophie Brun <sophie@offensive-security.com>
Tue, 11 Feb 2020 16:02:17 +0000 (17:02 +0100)
committerSophie Brun <sophie@offensive-security.com>
Tue, 1 Dec 2020 09:59:21 +0000 (09:59 +0000)
Last-Update: 2020-02-11

Gbp-Pq: Name add-missing-flags-pie.patch

Makefile

index 1aa49749ce2c8647c3dec0f0aa61cc894d4ad4b9..c67570957e89119bfa42ba8a50c5bccc5edb38dd 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -139,7 +139,7 @@ COMMON_FLAGS := -pipe -Wall -Wstrict-prototypes -Wtype-limits \
        -Wundef -Wmissing-prototypes -Wno-trigraphs -Wredundant-decls -Wshadow \
        -Wwrite-strings -Wstrict-aliasing -Wdate-time -Wno-unknown-warning \
        -Wno-address-of-packed-member -ffunction-sections -fdata-sections \
-       -Wimplicit-fallthrough -Wformat -Wno-format-security ${DEBUG_FLAGS}
+       -Wimplicit-fallthrough -Wformat -Wno-format-security -pie ${DEBUG_FLAGS}
 
 # FIRMWARE_ARCH is defined if compiling for a firmware target
 # (coreboot or depthcharge).