]> git.ipfire.org Git - thirdparty/hostap.git/commit
build: Disable some optimizations if TRACE_BFD is enabled
authorBenjamin Berg <benjamin.berg@intel.com>
Mon, 6 Jan 2025 15:31:30 +0000 (17:31 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 26 Jan 2025 07:41:54 +0000 (09:41 +0200)
commit0ca781b93af6eb6e9074d123ef574ee97b6c8501
treec69a35f6a072c2faf8d7d5b6c8dfef42633f4596
parentbc973ae915f33f3184e7825d74540ffc3a3522bd
build: Disable some optimizations if TRACE_BFD is enabled

When TRACE_BFD is enabled we need to be able to fetch stack traces.
However, some required functions might be inlined by the compiler or
hidden due to tail call optimizations. Add -fno-inline and
-fno-optimize-sibling-calls to avoid these optimizations.

Signed-off-by: Benjamin Berg <benjamin.berg@intel.com>
hostapd/Android.mk
hostapd/Makefile
wpa_supplicant/Android.mk
wpa_supplicant/Makefile