summaryrefslogtreecommitdiff
path: root/Ports/lua/package.sh
diff options
context:
space:
mode:
authorJavier Alvarez <javier.alvarez@allthingsembedded.net>2021-12-27 21:05:37 +0100
committerLinus Groh <mail@linusgroh.de>2021-12-28 00:24:32 +0100
commit4b47daaadca7dd3547c2572885cdc5f5eddc5a02 (patch)
tree648e80e169f9e343654259a1dbde6f72fd8e9cd4 /Ports/lua/package.sh
parent7c6fc79c236b69c251d2155614bac022a4af95f4 (diff)
downloadserenity-4b47daaadca7dd3547c2572885cdc5f5eddc5a02.zip
Ports: Make lua buildable on x86_64
Our lua Makefile patch contained hardcoded binaries from the i686 toolchain. Use the CC, AR, and RANLIB variables from .port_include.sh instead to make it architecture independent.
Diffstat (limited to 'Ports/lua/package.sh')
-rwxr-xr-xPorts/lua/package.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/Ports/lua/package.sh b/Ports/lua/package.sh
index 928ad9e368..5e4ba8b286 100755
--- a/Ports/lua/package.sh
+++ b/Ports/lua/package.sh
@@ -3,5 +3,5 @@ port=lua
version=5.3.6
files="http://www.lua.org/ftp/lua-${version}.tar.gz lua-${version}.tar.gz fc5fd69bb8736323f026672b1b7235da613d7177e72558893a0bdcd320466d60"
auth_type=sha256
-makeopts=("-j$(nproc)" "serenity")
+makeopts=("-j$(nproc)" "serenity" "CC=${CC}" "AR=${AR}" "RANLIB=${RANLIB}")
installopts=("INSTALL_TOP=${SERENITY_INSTALL_ROOT}/usr/local")