Skip to content

Commit

Permalink
feat: Handle Apple Silicon architectures
Browse files Browse the repository at this point in the history
  • Loading branch information
abensonca authored Jun 19, 2024
1 parent 50a2cec commit 4688013
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/configure
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#! /bin/sh
# © M E C Swanson 2008
# © M E C Swanson 2008
#
#Script to generate the mangle Makefile
#supports Linux, Darwin (MacOSX Intel or PPC), and SunOS
Expand Down Expand Up @@ -33,7 +33,7 @@ else
BYTES=$3
fi

if [ "$ARCH" = "x86_64" ] || [ "$ARCH" = "ia64" ] || [ "$ARCH" = "amd64" ] ; then
if [ "$ARCH" = "x86_64" ] || [ "$ARCH" = "ia64" ] || [ "$ARCH" = "amd64" ] || [ "$ARCH" = "arm64" ] ; then
MFLAG="-m64"
elif [ "$OS" = "Darwin" ] ; then
mac_64bit_compatible=`ioreg -l -p IODeviceTree | grep firmware-abi | awk '/64/{print "y"}'`
Expand Down

0 comments on commit 4688013

Please sign in to comment.