]> xenbits.xensource.com Git - xtf.git/commit
build: silence GNU ld 2.39 warning about executable stacks
authorJan Beulich <jbeulich@suse.com>
Thu, 29 Sep 2022 10:04:51 +0000 (12:04 +0200)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 3 Oct 2022 11:30:02 +0000 (12:30 +0100)
commit0f6618f7a5c92a6b75ffd8876daab07cef6bbcf1
tree0c58b2f62428c6df7f285e71a1538f48322d2eb0
parent5904c7afdf412db9e93ace7cb67ed2899a0d49e8
build: silence GNU ld 2.39 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.

For the new use of cc-option to work we cannot pass -S to the compiler
anymore. We need the compiler to actually invoke the assembler, so switch
to using -c.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
build/common.mk