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
1
Makefile
1
Makefile
|
@ -87,6 +87,7 @@ CFLAGS += -O2 -MMD -Wall -Werror $(INCFLAGS) \
|
|||
-Wno-main -U_FORTIFY_SOURCE
|
||||
CXXFLAGS += $(CFLAGS) -ffreestanding -fno-rtti -fno-exceptions
|
||||
ASFLAGS += -MMD $(INCFLAGS)
|
||||
LDFLAGS += -z noexecstack
|
||||
|
||||
## 4. Arch-Specific Configurations
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue