mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 10:11:27 +01:00
build: silence GNU ld warning about executable stacks
While for C files the compiler is supposed to arrange for emitting
respective information, for assembly sources we're responsible ourselves.
Present GNU ld master started warning about such, and hence 2.39 is
anticipated to have this warning.
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Julien Grall <jgrall@amazon.com>
master commit: 62d22296a9
master date: 2022-05-18 11:18:45 +0200
This commit is contained in:
1 parent
fcbee61b21
commit
f6594c3f05
1 file changed
+2
@@ -221,6 +221,8 @@ endif
|
||||
|
||||
AFLAGS += -D__ASSEMBLY__
|
||||
|
||||
$(call cc-option-add,AFLAGS,CC,-Wa$(comma)--noexecstack)
|
||||
|
||||
LDFLAGS-$(call ld-option,--warn-rwx-segments) += --no-warn-rwx-segments
|
||||
|
||||
CFLAGS += $(CFLAGS-y)
|
||||
|
||||