Skip to content

Commit

Permalink
optimized
Browse files Browse the repository at this point in the history
Signed-off-by: leleliu008 <[email protected]>
  • Loading branch information
leleliu008 committed Apr 28, 2024
1 parent 3faaabb commit 79a6806
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ndk-pkg
Original file line number Diff line number Diff line change
Expand Up @@ -6281,7 +6281,7 @@ EOF
CCFLAGS="$CCFLAGS -Os"
XXFLAGS="$XXFLAGS -Os"

if [ "$ENABLE_LTO" = 1 ] ; then
if [ -z "$ENABLE_LTO" ] || [ "$ENABLE_LTO" = 1 ] ; then
LDFLAGS="$LDFLAGS -flto"
fi

Expand Down Expand Up @@ -9025,7 +9025,7 @@ NDKPKG_PATH="$(cd "$(dirname "$0")" && pwd)/$(basename "$0")"

NDKPKG_ARGS="$*"

NDKPKG_VERSION=0.9.2
NDKPKG_VERSION=0.9.3

NDKPKG_ZSH_COMPLETION_SCRIPT_URL='https://raw.githubusercontent.com/leleliu008/ndk-pkg/master/ndk-pkg-zsh-completion'
NDKPKG_OFFICIAL_FORMULA_REPO_URL='https://github.com/leleliu008/ndk-pkg-formula-repository-official-core.git'
Expand Down

0 comments on commit 79a6806

Please sign in to comment.