1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 18:07:34 +00:00

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.
This commit is contained in:
Javier Alvarez 2021-12-27 21:05:37 +01:00 committed by Linus Groh
parent 7c6fc79c23
commit 4b47daaadc
2 changed files with 15 additions and 21 deletions

View file

@ -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")