Skip to content

Commit

Permalink
fix(main/tere): Fix build error due to undefined shell variable
Browse files Browse the repository at this point in the history
Fixes the below error:
> [..]/tere/build.sh: line 15: TARGET_CFLAGS: unbound variable
  • Loading branch information
fornwall committed May 14, 2024
1 parent 3fd6cb2 commit 66f03d1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/tere/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ TERMUX_PKG_LICENSE="EUPL-1.2"
TERMUX_PKG_LICENSE_FILE="LICENSE"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION="1.5.1"
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=https://github.com/mgunyho/tere/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=d7f657371ffbd469c4d8855c2a2734c20b53ae632fe3cbf9bb7cab94bd726326
TERMUX_PKG_BUILD_IN_SRC=true
Expand All @@ -12,8 +13,6 @@ TERMUX_PKG_AUTO_UPDATE=true
termux_step_pre_configure() {
termux_setup_rust

export CFLAGS="${TARGET_CFLAGS}"

: "${CARGO_HOME:=$HOME/.cargo}"
export CARGO_HOME

Expand Down

0 comments on commit 66f03d1

Please sign in to comment.