diff --git a/community/qt6-qtbase/APKBUILD b/community/qt6-qtbase/APKBUILD
index 2a327ef154c5ee43cc67dd35a993611742dc993a..527d22d98a88c5d2b3cbaafdda987bce0ec70825 100644
--- a/community/qt6-qtbase/APKBUILD
+++ b/community/qt6-qtbase/APKBUILD
@@ -1,7 +1,7 @@
 # Maintainer: Bart Ribbers <bribbers@disroot.org>
 pkgname=qt6-qtbase
 pkgver=6.3.0
-pkgrel=1
+pkgrel=2
 pkgdesc="A cross-platform application and UI framework"
 url="https://qt.io/"
 arch="all"
@@ -74,8 +74,10 @@ esac
 [ "$CARCH" = "riscv64" ] && options="$options textrels"
 
 build() {
+	# significantly reduce debug symbol size
+	CFLAGS="$CFLAGS -g1" CXXFLAGS="$CXXFLAGS -g1" \
 	cmake -B build -G Ninja \
-		-DCMAKE_BUILD_TYPE=RelWithDebInfo \
+		-DCMAKE_BUILD_TYPE=Release \
 		-DCMAKE_INSTALL_PREFIX=/usr \
 		-DINSTALL_BINDIR=lib/qt6/bin \
 		-DINSTALL_PUBLICBINDIR=usr/bin \