Skip to content

Commit

Permalink
optimized
Browse files Browse the repository at this point in the history
  • Loading branch information
leleliu008 committed Nov 4, 2024
1 parent a8cc5e4 commit 7416edc
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions xcpkg
Original file line number Diff line number Diff line change
Expand Up @@ -5525,7 +5525,14 @@ install_mans() {
##############################################################################
# {{{ configure

configure_only() {
configure() {
unset CONFIGURE_ONLY

if [ "$1" = only ] ; then
CONFIGURE_ONLY=1
shift
fi

export FORCE_UNSAFE_CONFIGURE=1

export ac_cv_func_malloc_0_nonnull=yes
Expand Down Expand Up @@ -5691,13 +5698,12 @@ configure_only() {
done
unset Makefile
fi
}

configure() {
configure_only "$@" &&
gmakew clean &&
gmakew &&
gmakew install
if [ "$CONFIGURE_ONLY" != 1 ] ; then
gmakew clean
gmakew
gmakew install
fi
}

# }}}
Expand Down

0 comments on commit 7416edc

Please sign in to comment.