Re: [PATCH] src: add -Wno-error=stack-usage= to AM_LDFLAGS

2021-09-08 Thread Mark Wielaard
Hi Dmitry, On Mon, Sep 06, 2021 at 03:59:05AM +0300, Dmitry V. Levin wrote: > 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

[PATCH] src: add -Wno-error=stack-usage= to AM_LDFLAGS

2021-09-05 Thread Dmitry V. Levin
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=2