mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-16 22:27:02 +02:00
MEGAcmd: build with -std=c++17
Otherwise, link with experimental/filesystem and failed to link.
This commit is contained in:
parent
e3cd4cd380
commit
3028fd4e66
1 changed files with 2 additions and 5 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'MEGAcmd'
|
||||
pkgname=MEGAcmd
|
||||
version=1.4.0
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=gnu-configure
|
||||
hostmakedepends="autoconf-archive autogen gettext automake libtool pkg-config"
|
||||
makedepends="MEGAsdk-devel readline-devel pcre-devel"
|
||||
|
@ -12,15 +12,12 @@ homepage="https://github.com/meganz/MEGAcmd"
|
|||
distfiles="https://github.com/meganz/MEGAcmd/archive/${version}_Linux.tar.gz"
|
||||
checksum=2a3626a9f1d22303fe2123f984a8ecf3779d6d59ac6c67c1bf43c2423dcb832d
|
||||
replaces="megacmd>=0"
|
||||
CXXFLAGS=-std=c++17
|
||||
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
configure_args="--with-libtool-sysroot=${XBPS_CROSS_BASE}"
|
||||
fi
|
||||
|
||||
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
||||
LDFLAGS+=" -latomic"
|
||||
fi
|
||||
|
||||
pre_configure() {
|
||||
./autogen.sh
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue