mips: executable-stack-in-shared-library

Mathieu Malaterre <[email protected]>
Newsgroups gmane.linux.debian.ports.mips
Message-ID <CA+7wUswTifTus3EZy0UjeUrNXMSvkUBP0FRxUH5MKt-EV42b6g@mail.gmail.com>
[cc me please]

Dear mips porter,

Upstream of one of my package is trying to provide a fix for the
lintian report:executable-stack-in-shared-library (*)

Basically the patch is as follow (**):

[...]
if (HWY_ARCH MATCHES "mips")
  target_link_options(hwy PUBLIC "LINKER:-z,noexecstack")
endif (HWY_ARCH MATCHES "mips")
[...]

Could someone please confirm this is the "right" patch. I fail to
understand why each and every source package would need to change the
default LDFLAGS value...

Thanks for suggestion/help

-M

(*) https://udd.debian.org/lintian/?packages=highway
(**) https://github.com/google/highway/issues/988
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.