(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 maskray@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)