mirror of
https://github.com/openwrt/packages.git
synced 2025-12-28 07:50:04 +04:00
The sysroot has to point to the toolchain directory. The directory
includes libraries like libm. However, the STAGING_DIR needs to be
added to the CFLAGS.
Fixes #15773
[As suggested by jow]
Signed-off-by: Nick Hainke <vincent@systemli.org>
(cherry picked from commit 35b18ddfc4)