Makefile: supress warning about executable stack from ld 2.39
* `missing .note.GNU-stack section implies executable stack`
This commit is contained in:
parent
7c9b27be20
commit
024441cbed
2 changed files with 2 additions and 1 deletions
|
@ -16,7 +16,7 @@ ASFLAGS += -fpie -pie
|
|||
|
||||
image:
|
||||
@echo + LD "->" $(IMAGE_REL)
|
||||
@g++ -pie -o $(IMAGE) -Wl,--whole-archive $(LINKAGE) -Wl,-no-whole-archive -lSDL2 -ldl
|
||||
@g++ -pie -o $(IMAGE) -Wl,--whole-archive $(LINKAGE) -Wl,-no-whole-archive -Wl,-z -Wl,noexecstack -lSDL2 -ldl
|
||||
|
||||
run: image
|
||||
$(IMAGE)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue