gloox: fix build flags

This commit is contained in:
Joachim Mairböck
2025-08-20 13:39:44 +02:00
parent 62f8218268
commit 9bab5a8bda

View File

@@ -3,7 +3,7 @@ DESCRIPTION="Rock-solid, full-featured Jabber/XMPP client library, written in cl
HOMEPAGE="https://camaya.net/gloox/"
COPYRIGHT="2002-2023 Jakob Schröter"
LICENSE="GNU GPL v2"
REVISION="3"
REVISION="4"
SOURCE_URI="http://camaya.net/download/gloox-$portVersion.tar.bz2"
CHECKSUM_SHA256="591bd12c249ede0b50a1ef6b99ac0de8ef9c1ba4fd2e186f97a740215cc5966c"
PATCHES="gloox-$portVersion.patchset"
@@ -54,7 +54,8 @@ defineDebugInfoPackage gloox$secondaryArchSuffix \
BUILD()
{
autoreconf -fi
CFLAGS="-D_BSD_SOURCE" CXXFLAGS="-D_BSD_SOURCE" runConfigure ./configure --enable-xhtmlim
CFLAGS="-D_BSD_SOURCE -O2 -g" CXXFLAGS="-D_BSD_SOURCE -O2 -g" \
runConfigure ./configure --enable-xhtmlim
make $jobArgs
}