(This does no harm because we use LD directly.)

-nopie is a typo. The actual option is -no-pie. CFLAGS does not need to
include a link option.

Signed-off-by: Fangrui Song <mask...@google.com>
---
 Makefile | 1 -
 1 file changed, 1 deletion(-)

diff --git a/Makefile b/Makefile
index 8d087af..1400bf2 100644
--- a/Makefile
+++ b/Makefile
@@ -63,7 +63,6 @@ COMMONCFLAGS := -I$(OUT) -Isrc -Os -MD -g \
     -minline-all-stringops -fomit-frame-pointer \
     -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks \
     -ffunction-sections -fdata-sections -fno-common -fno-merge-constants
-COMMONCFLAGS += $(call cc-option,-nopie)
 COMMONCFLAGS += $(call cc-option,-fno-pie)
 COMMONCFLAGS += $(call cc-option,-fno-stack-protector)
 COMMONCFLAGS += $(call cc-option,-fno-stack-protector-all)
-- 
2.25.1
_______________________________________________
SeaBIOS mailing list -- seabios@seabios.org
To unsubscribe send an email to seabios-le...@seabios.org

Reply via email to