Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
mbekkomo committed Nov 27, 2024
1 parent d5d3228 commit 9088c5b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/librusty-v8/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ android_ndk_version=\"$TERMUX_NDK_VERSION\"
EXTRA_GN_ARGS+=" arm_float_abi = \"softfp\""
fi

# shellcheck disable=SC2155 # Ignore command exit-code
export GN="$(command -v gn)"

# Make build.rs happy
Expand All @@ -36,7 +37,7 @@ android_ndk_version=\"$TERMUX_NDK_VERSION\"
export BINDGEN_EXTRA_CLANG_ARGS
local env_name=BINDGEN_EXTRA_CLANG_ARGS_${CARGO_TARGET_NAME@U}
env_name=${env_name//-/_}
export $env_name="$BINDGEN_EXTRA_CLANG_ARGS"
export "$env_name"="$BINDGEN_EXTRA_CLANG_ARGS"
}

termux_step_make() {
Expand Down

0 comments on commit 9088c5b

Please sign in to comment.