Skip to content
Snippets Groups Projects
Unverified Commit 223dcac4 authored by alice's avatar alice
Browse files

community/qt6-qtbase: reduce dbg size

parent 08093fa9
No related branches found
No related tags found
2 merge requests!54607main/sofia-sip: backport support for forking SIP calls,!41733community/linux-edge: fix build on x86_64
# Maintainer: Bart Ribbers <bribbers@disroot.org> # Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=qt6-qtbase pkgname=qt6-qtbase
pkgver=6.3.0 pkgver=6.3.0
pkgrel=1 pkgrel=2
pkgdesc="A cross-platform application and UI framework" pkgdesc="A cross-platform application and UI framework"
url="https://qt.io/" url="https://qt.io/"
arch="all" arch="all"
...@@ -74,8 +74,10 @@ esac ...@@ -74,8 +74,10 @@ esac
[ "$CARCH" = "riscv64" ] && options="$options textrels" [ "$CARCH" = "riscv64" ] && options="$options textrels"
build() { build() {
# significantly reduce debug symbol size
CFLAGS="$CFLAGS -g1" CXXFLAGS="$CXXFLAGS -g1" \
cmake -B build -G Ninja \ cmake -B build -G Ninja \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_PREFIX=/usr \
-DINSTALL_BINDIR=lib/qt6/bin \ -DINSTALL_BINDIR=lib/qt6/bin \
-DINSTALL_PUBLICBINDIR=usr/bin \ -DINSTALL_PUBLICBINDIR=usr/bin \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment