mirror of
https://github.com/void-linux/void-packages.git
synced 2025-09-01 09:32:57 +02:00
gpgme-qt6: fix musl build
This commit is contained in:
parent
3cdd56b3a9
commit
6dcc8d7a67
1 changed files with 3 additions and 3 deletions
|
@ -23,14 +23,14 @@ changelog="https://git.gnupg.org/cgi-bin/gitweb.cgi?p=gpgme.git;a=blob_plain;f=N
|
|||
distfiles="https://www.gnupg.org/ftp/gcrypt/gpgme/gpgme-${version}.tar.bz2"
|
||||
checksum=ea05d0258e71061d61716584ec34cef59330a91340571edc46b78374973ba85f
|
||||
|
||||
CXXFLAGS="-D_GLIBCXX_USE_C99_STDIO=1"
|
||||
CFLAGS="-D_LARGEFILE64_SOURCE"
|
||||
|
||||
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
|
||||
configure_args+=" ac_cv_sys_file_offset_bits=no"
|
||||
elif [ "$XBPS_TARGET_WORDSIZE" = "32" ]; then
|
||||
CFLAGS="-D_FILE_OFFSET_BITS=64 -DLARGEFILE_SOURCE=1"
|
||||
CXXFLAGS+=" ${CFLAGS}"
|
||||
CFLAGS="$CFLAGS -D_FILE_OFFSET_BITS=64 -DLARGEFILE_SOURCE=1"
|
||||
fi
|
||||
CXXFLAGS="-D_GLIBCXX_USE_C99_STDIO=1 $CFLAGS"
|
||||
|
||||
do_configure() {
|
||||
mkdir -p build
|
||||
|
|
Loading…
Add table
Reference in a new issue