src: add -Wno-error=stack-usage= to AM_LDFLAGS
authorDmitry V. Levin <ldv@altlinux.org>
Sun, 5 Sep 2021 08:00:00 +0000 (08:00 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Thu, 9 Sep 2021 08:00:00 +0000 (08:00 +0000)
commit02b05e183998943dd5a19ba783b8793e2ab9ab44
tree8a015d1ecc47259e9f8150d0e7fc4db6b5908875
parent5ce85e424907d82797f5efe59a8416ec537ebd9e
src: add -Wno-error=stack-usage= to AM_LDFLAGS

While -Wstack-usage= is already excluded from AM_CFLAGS for various
tools in src using *_no_Wstack_usage variables, this obviously does not
help when LTO is enabled, so add -Wno-error=stack-usage= to AM_LDFLAGS
for linking tools in src.

References: https://sourceware.org/bugzilla/show_bug.cgi?id=24498
Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
config/ChangeLog
config/eu.am
src/ChangeLog
src/Makefile.am