Update
This commit is contained in:
parent
a7af370936
commit
84556c8f22
1 changed files with 5 additions and 0 deletions
|
@ -61,6 +61,11 @@ override LDFLAGS += \
|
||||||
-z max-page-size=0x1000 \
|
-z max-page-size=0x1000 \
|
||||||
-T linker.ld
|
-T linker.ld
|
||||||
|
|
||||||
|
# Check if the linker supports -no-pie and enable it if it does
|
||||||
|
ifeq ($(shell $(LD) --help 2>&1 | grep 'no-pie' >/dev/null 2>&1; echo $$?),0)
|
||||||
|
override LDFLAGS += -no-pie
|
||||||
|
endif
|
||||||
|
|
||||||
# Internal nasm flags that should not be changed by the user.
|
# Internal nasm flags that should not be changed by the user.
|
||||||
override NASMFLAGS += \
|
override NASMFLAGS += \
|
||||||
-f elf64
|
-f elf64
|
||||||
|
|
Loading…
Add table
Reference in a new issue