mirror of
https://github.com/feather-wallet/feather.git
synced 2025-01-09 12:29:44 +00:00
guix/depends: cleanup
This commit is contained in:
parent
2b767c0bc9
commit
6cffad2c7d
2 changed files with 6 additions and 27 deletions
|
@ -184,32 +184,6 @@ ifneq ($($(1)_ldflags),)
|
||||||
$(1)_autoconf += LDFLAGS="$$($(1)_ldflags)"
|
$(1)_autoconf += LDFLAGS="$$($(1)_ldflags)"
|
||||||
endif
|
endif
|
||||||
|
|
||||||
$(1)_autoconff=./configure --prefix=$($($(1)_type)_prefix) $$($(1)_config_opts) CC="$$($(1)_cc)" CXX="$$($(1)_cxx)"
|
|
||||||
ifneq ($($(1)_nm),)
|
|
||||||
$(1)_autoconff += NM="$$($(1)_nm)"
|
|
||||||
endif
|
|
||||||
ifneq ($($(1)_ranlib),)
|
|
||||||
$(1)_autoconff += RANLIB="$$($(1)_ranlib)"
|
|
||||||
endif
|
|
||||||
ifneq ($($(1)_ar),)
|
|
||||||
$(1)_autoconff += AR="$$($(1)_ar)"
|
|
||||||
endif
|
|
||||||
ifneq ($($(1)_arflags),)
|
|
||||||
$(1)_autoconff += ARFLAGS="$$($(1)_arflags)"
|
|
||||||
endif
|
|
||||||
ifneq ($($(1)_cflags),)
|
|
||||||
$(1)_autoconff += CFLAGS="$$($(1)_cflags)"
|
|
||||||
endif
|
|
||||||
ifneq ($($(1)_cxxflags),)
|
|
||||||
$(1)_autoconff += CXXFLAGS="$$($(1)_cxxflags)"
|
|
||||||
endif
|
|
||||||
ifneq ($($(1)_cppflags),)
|
|
||||||
$(1)_autoconff += CPPFLAGS="$$($(1)_cppflags)"
|
|
||||||
endif
|
|
||||||
ifneq ($($(1)_ldflags),)
|
|
||||||
$(1)_autoconff += LDFLAGS="$$($(1)_ldflags)"
|
|
||||||
endif
|
|
||||||
|
|
||||||
$(1)_cmake=env CC="$$($(1)_cc)" \
|
$(1)_cmake=env CC="$$($(1)_cc)" \
|
||||||
CFLAGS="$$($(1)_cppflags) $$($(1)_cflags)" \
|
CFLAGS="$$($(1)_cppflags) $$($(1)_cflags)" \
|
||||||
CXX="$$($(1)_cxx)" \
|
CXX="$$($(1)_cxx)" \
|
||||||
|
|
|
@ -9,6 +9,9 @@ set -e -o pipefail
|
||||||
# shellcheck source=libexec/prelude.bash
|
# shellcheck source=libexec/prelude.bash
|
||||||
source "$(dirname "${BASH_SOURCE[0]}")/libexec/prelude.bash"
|
source "$(dirname "${BASH_SOURCE[0]}")/libexec/prelude.bash"
|
||||||
|
|
||||||
|
###################
|
||||||
|
## SANITY CHECKS ##
|
||||||
|
###################
|
||||||
|
|
||||||
################
|
################
|
||||||
# Required non-builtin commands should be invocable
|
# Required non-builtin commands should be invocable
|
||||||
|
@ -70,7 +73,9 @@ mkdir -p "$VERSION_BASE"
|
||||||
################
|
################
|
||||||
|
|
||||||
# Default to building for all supported HOSTs (overridable by environment)
|
# Default to building for all supported HOSTs (overridable by environment)
|
||||||
export HOSTS="${HOSTS:-x86_64-linux-gnu x86_64-linux-gnu.tails aarch64-linux-gnu arm-linux-gnueabihf x86_64-w64-mingw32 x86_64-w64-mingw32.installer x86_64-apple-darwin}"
|
export HOSTS="${HOSTS:-x86_64-linux-gnu x86_64-linux-gnu.tails aarch64-linux-gnu arm-linux-gnueabihf
|
||||||
|
x86_64-w64-mingw32 x86_64-w64-mingw32.installer
|
||||||
|
x86_64-apple-darwin}"
|
||||||
|
|
||||||
# Usage: distsrc_for_host HOST
|
# Usage: distsrc_for_host HOST
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in a new issue