Skip to content
This repository was archived by the owner on May 7, 2024. It is now read-only.

Commit c1c9b87

Browse files
committed
etc/autobuild/ab3_defcfg: set cmake build type to RelWithDebInfo
As now we require ELF files inside a package to contain debug info to strip to debug symbol packages, set cmake build type to RelWithDebInfo to let CMake insert -g to generate debug info. Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
1 parent 9557c95 commit c1c9b87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

etc/autobuild/ab3_defcfg.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ AUTOTOOLS_DEF="""
122122
"""
123123
CMAKE_DEF="""
124124
-DCMAKE_INSTALL_PREFIX=$PREFIX
125-
-DCMAKE_BUILD_TYPE=Release
125+
-DCMAKE_BUILD_TYPE=RelWithDebInfo
126126
-DCMAKE_INSTALL_LIBDIR=lib
127127
-DLIB_INSTALL_DIR=lib
128128
-DSYSCONF_INSTALL_DIR=$SYSCONF

0 commit comments

Comments
 (0)