diff --git a/newapkbuild.in b/newapkbuild.in index f0dc911cb8..f5dc882e88 100644 --- a/newapkbuild.in +++ b/newapkbuild.in @@ -65,7 +65,7 @@ build_cmake() { -DCMAKE_INSTALL_PREFIX=/usr \\ -DCMAKE_INSTALL_LIBDIR=lib \\ -DBUILD_SHARED_LIBS=True \\ - -DCMAKE_BUILD_TYPE=Release \\ + -DCMAKE_BUILD_TYPE=RelWithDebInfo \\ -DCMAKE_CXX_FLAGS="\$CXXFLAGS" \\ -DCMAKE_C_FLAGS="\$CFLAGS" \\ \${CMAKE_CROSSOPTS} . @@ -85,7 +85,7 @@ build_meson() { --sysconfdir=/etc \\ --mandir=/usr/share/man \\ --localstatedir=/var \\ - --buildtype=release \\ + --buildtype=debugoptimized \\ . output ninja -C output __EOF__ @@ -252,7 +252,7 @@ depends="$depends" depends_dev="" makedepends="$makedepends" install="$install" -subpackages="\$pkgname-dev \$pkgname-doc" +subpackages="\$pkgname-dev \$pkgname-doc \$pkgname-dbg" source="$source" __EOF__