packages/rust&&packages/serf

This commit is contained in:
termux-actions[bot]
2022-01-30 05:37:08 +00:00
parent 4dcf5156b7
commit 69393d9769
2 changed files with 3 additions and 3 deletions

View File

@@ -23,8 +23,8 @@ termux_step_configure() {
rustup install $BOOTSTRAP_VERSION
rustup default $BOOTSTRAP_VERSION-x86_64-unknown-linux-gnu
export PATH=$HOME/.rustup/toolchains/$BOOTSTRAP_VERSION-x86_64-unknown-linux-gnu/bin:$PATH
local RUSTC=$(which rustc)
local CARGO=$(which cargo)
local RUSTC=$(command -v rustc)
local CARGO=$(command -v cargo)
sed "s%\\@TERMUX_PREFIX\\@%$TERMUX_PREFIX%g" \
$TERMUX_PKG_BUILDER_DIR/config.toml \

View File

@@ -14,7 +14,7 @@ TERMUX_PKG_BUILD_IN_SRC=true
termux_step_make_install() {
scons APR=$TERMUX_PREFIX \
APU=$TERMUX_PREFIX \
CC=$(which $CC) \
CC=$(command -v $CC) \
CFLAGS="$CFLAGS" \
CPPFLAGS="$CPPFLAGS -std=c11" \
LINKFLAGS="$LDFLAGS" \