gpgme: more generic template + fix on 32-bit ppc glibc
[ci skip]
This commit is contained in:
parent
0df9f83f0c
commit
71edfe3a16
|
@ -16,13 +16,13 @@ homepage="https://www.gnupg.org/software/gpgme/index.html"
|
|||
distfiles="https://www.gnupg.org/ftp/gcrypt/gpgme/gpgme-${version}.tar.bz2"
|
||||
checksum=c4e30b227682374c23cddc7fdb9324a99694d907e79242a25a4deeedb393be46
|
||||
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
*-musl) configure_args+=" ac_cv_sys_file_offset_bits=no";;
|
||||
i686*|arm*)
|
||||
CFLAGS="-D_FILE_OFFSET_BITS=64 -DLARGEFILE_SOURCE=1"
|
||||
CXXFLAGS="${CFLAGS}"
|
||||
;;
|
||||
esac
|
||||
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}"
|
||||
fi
|
||||
|
||||
CXXFLAGS+=" -D_GLIBCXX_USE_C99_STDIO=1"
|
||||
|
||||
post_extract() {
|
||||
|
|
Loading…
Reference in New Issue