package/cmake: with BR2_ENABLE_DEBUG use RelWithDebInfo
authorCharles Hardin <ckhardin@exablox.com>
Sat, 21 May 2016 20:08:34 +0000 (13:08 -0700)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 1 Jul 2016 21:36:16 +0000 (23:36 +0200)
commit4b0120183404913f7f7788ef4f0f6b51498ef363
treeb5a44c0eaab41421ec2e2e61c60e036bf737b60a
parent35e980f324096b291203f26399e58269b0dda092
package/cmake: with BR2_ENABLE_DEBUG use RelWithDebInfo

>From the documentation on BR2_ENABLE_DEBUG, the intention is to get
a build with debug symbols and not a "debug build" since that can have
the unintended consequence of being a different code path then a
release build type definition.

Switch the "Debug" to "RelWithDebInfo" in the cmake package support
to accomodate getting the debug symbols and still be a release
build.

Signed-off-by: Charles Hardin <ckhardin@exablox.com>
Reviewed-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/pkg-cmake.mk