Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
Conditionalize ARCHFLAGS based on uname
Browse files Browse the repository at this point in the history
  • Loading branch information
mkoeppe committed Jul 1, 2016
1 parent 4088bec commit cfffc5e
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion build/pkgs/perl_term_readline_gnu/spkg-install
Expand Up @@ -8,5 +8,11 @@ fi

cd src

ARCHFLAGS='-arch x86_64' perl Makefile.PL --prefix=$SAGE_LOCAL INSTALL_BASE=$SAGE_LOCAL
case `uname` in
Darwin )
ARCHFLAGS="-arch `uname -m`"
export ARCHFLAGS
;;
esac
perl Makefile.PL --prefix=$SAGE_LOCAL INSTALL_BASE=$SAGE_LOCAL
$MAKE install

0 comments on commit cfffc5e

Please sign in to comment.