nix: drop libcpuid dependency on non-x86
This commit is contained in:
parent
c559951b15
commit
51c4b1859a
@ -8,7 +8,7 @@ configure_args="--localstatedir=/nix/var --with-sandbox-shell=/bin/sh"
|
||||
hostmakedepends="curl pkg-config flex tar xz automake autoconf-archive mdBook"
|
||||
makedepends="boost-devel brotli-devel bzip2-devel gc-devel libcurl-devel
|
||||
liblzma-devel openssl-devel libsodium-devel sqlite-devel
|
||||
libseccomp-devel editline-devel jq-devel libarchive-devel libcpuid-devel
|
||||
libseccomp-devel editline-devel jq-devel libarchive-devel
|
||||
gtest-devel lowdown-devel json-c++"
|
||||
depends="curl tar xz"
|
||||
short_desc="Purely functional package manager"
|
||||
@ -24,6 +24,10 @@ if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
|
||||
makedepends+=" musl-legacy-compat"
|
||||
fi
|
||||
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
x86_64*|i686*) makedepends+=" libcpuid-devel";;
|
||||
esac
|
||||
|
||||
CXXFLAGS="-Wno-deprecated-declarations"
|
||||
|
||||
# Default configuration file.
|
||||
|
Loading…
x
Reference in New Issue
Block a user