]> git.ipfire.org Git - thirdparty/openwrt.git/commit
cmake: use RelWithDebInfo, not Debug, with CONFIG_DEBUG 18709/head
authorNathaniel Wesley Filardo <nwfilardo@gmail.com>
Sun, 4 May 2025 20:40:13 +0000 (21:40 +0100)
committerRobert Marko <robimarko@gmail.com>
Sat, 10 May 2025 10:41:26 +0000 (12:41 +0200)
commit703e7d2d5b58e68528cb5fadfc1185bd3904b3d9
treed5970917a9c3cb42c495729f5384100eb9e3e6a3
parent53054fead58aeba61b592473e26b1798452856c3
cmake: use RelWithDebInfo, not Debug, with CONFIG_DEBUG

Given the description of the configuration option at its definition in
target/sdk/files/Config.in ("Compile packages with debugging info" and "Adds -g3
to the CFLAGS", the more appropriate CMAKE build type is `RelWithDebInfo` rather
than `Debug`.

Signed-off-by: Nathaniel Wesley Filardo <nwfilardo@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/18709
Signed-off-by: Robert Marko <robimarko@gmail.com>
include/cmake.mk