1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-05-01 14:16:47 +00:00

Return makeright to original and use LDEARCH env variable instaed; update darwin makefielsd with --target param; update buildReleaseInclDocker workflow to build both x86_64 and aarch64 binaries as well as universal binaries.

This commit is contained in:
Frank Halasz
2023-02-19 22:20:01 -08:00
committed by Frank Halasz
parent 6d575a8f22
commit 6f71e2b197
7 changed files with 63 additions and 54 deletions

View File

@@ -54,36 +54,9 @@ if test $# -gt 0
shift
fi
target_arch="$1"
if test $# -gt 0
then
shift
fi
architecture=`machinetype`
osversion=`osversion`
if test "$target_arch" != ""
then
if test "$osversion" != "darwin"
then
echo "!!!!!!!!!! WARNING: target architecture applies only to the Darwin (MacOS) platform"
echo "!!!!!!!!!! Ignoring target architecture argument: $target_arch"
elif test "$target_arch" = "x86_64"
then
architecture=$target_arch
elif test "$target_arch" = "aarch64"
then
architecture=$target_arch
else
echo "!!!!!!!!! WARNING: Unknown target architecture: $target_arch"
echo "!!!!!!!!! Ignoring second argument."
fi
fi
echo "making so far for ${osversion} on ${architecture}."
case "$display" in
init) display=single
releasename=init-${osversion}.${architecture}