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

community/qt5-qtdeclarative: reduce dbg size

parent 8ffafa08
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>
pkgname=qt5-qtdeclarative
pkgver=5.15.4_git20220514
pkgrel=0
pkgrel=1
_commit="51efb2ed2f071beda188270a23ac450fe4b318f7"
pkgdesc="Qt5 - QtDeclarative component"
# Broken on armhf, upstream bug report https://bugreports.qt.io/browse/QTBUG-65246
......@@ -30,16 +30,19 @@ prepare() {
mkdir .git
}
# Compiling with -Os generates segfaults
export CFLAGS="${CFLAGS/-Os/-O2}"
export CPPFLAGS=${CPPFLAGS/-Os/-O2}
export CXXFLAGS="${CXXFLAGS/-Os/-O2}"
build() {
# HACK so calls to "python" get what we want
ln -s /usr/bin/python3 python
export PATH="$(pwd):$PATH"
# Compiling with -Os generates segfaults
export CFLAGS="${CFLAGS/-Os/-O2}"
export CPPFLAGS=${CPPFLAGS/-Os/-O2}
export CXXFLAGS="${CXXFLAGS/-Os/-O2}"
export CFLAGS="$CFLAGS -g1"
export CXXFLAGS="$CXXFLAGS -g1"
qmake-qt5
make
}
......
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