This reverts commit 6638dc55268eed63b3bfd7a65f0eb9450054a586. Setting RelWithDebInfo can cause issues since cmake macros often handle only Release or Debug build but not RelWithDebInf which might cause issues https://github.com/void-linux/void-packages/pull/10948 It is advised to set -DCMAKE_BUILD_TYPE=RelWithDebInfo manually in packages that ignore our CFLAGS or patch them to use them closes #10948
BUILD STYLES ============ These shell snippets provide support for multiple build systems, i.e GNU configure, CMake, etc. A build style file must provide at least the following functions: - do_configure - do_build - do_install If a source package defines its own do_xxx() function, the function defined in the build style file is simply ignored.