Skip to content

Commit

Permalink
optimized
Browse files Browse the repository at this point in the history
  • Loading branch information
leleliu008 committed Oct 1, 2024
1 parent 60d1060 commit 5694333
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions xbuilder
Original file line number Diff line number Diff line change
Expand Up @@ -507,11 +507,11 @@ inspect_install_arguments() {
LDFLAGS="-isysroot $SYSROOT -mmacosx-version-min=$NATIVE_OS_VERS -arch $NATIVE_OS_ARCH"
else
[ -z "$CC" ] && {
CC="$(command -v cc || command -v clang || command -v gcc)" || abort 1 "C Compiler not found."
CC="$(command -v gcc || command -v clang || command -v cc)" || abort 1 "C Compiler not found."
}

[ -z "$CXX" ] && {
CXX="$(command -v c++ || command -v clang++ || command -v g++)" || abort 1 "C++ Compiler not found."
CXX="$(command -v g++ || command -v clang++ || command -v c++)" || abort 1 "C++ Compiler not found."
}

[ -z "$AS" ] && {
Expand Down Expand Up @@ -938,7 +938,7 @@ package_info_perl() {
PACKAGE_SRC_URL='https://cpan.metacpan.org/authors/id/P/PE/PEVANS/perl-5.38.2.tar.xz'
PACKAGE_SRC_URI='https://distfiles.macports.org/perl5.38/perl-5.38.2.tar.xz'
PACKAGE_SRC_SHA='d91115e90b896520e83d4de6b52f8254ef2b70a8d545ffab33200ea9f1cf29e8'
PACKAGE_INSTALL='Configure -Dman1dir=none -Dman3dir=none -des -Dmake=gmake -Duselargefiles -Duseshrplib -Dusethreads -Dusenm=false -Dusedl=true'
PACKAGE_INSTALL='Configure -Dman1dir=none -Dman3dir=none -des -Dcc="$CC" -Dmake=gmake -Duselargefiles -Duseshrplib -Dusethreads -Dusenm=false -Dusedl=true'
}

package_info_openssl() {
Expand Down Expand Up @@ -1163,7 +1163,7 @@ ${COLOR_GREEN}xbuilder exec [--prefix=<DIR>] <CMD>${COLOR_OFF}
"
}

RUNTIME_BUILDER_VERSION=3.0.0
RUNTIME_BUILDER_VERSION=4.0.0

case $1 in
''|--help|-h)
Expand Down

0 comments on commit 5694333

Please sign in to comment.