diff options
author | Eric Sandall | 2019-07-09 03:24:49 +0000 |
---|---|---|
committer | Eric Sandall | 2019-07-09 03:24:49 +0000 |
commit | 798281f5101e4b0ba2abdd4435cbb2d8fd5eae67 (patch) | |
tree | 53f7b2a92b572cd26ad3a9834ed435d3166b62bb /lua-forge | |
parent | fc2e4b1fa091529cdc438b477259b181ba103509 (diff) |
lua51: Set 64-bit for EM64T as well.
Sorcery devel (from git), glibc, gcc, or updated smgl-archspecs changed
SMGL_COMPAT_ARCHS[1] from x86_64 to em64t.
Diffstat (limited to 'lua-forge')
-rw-r--r-- | lua-forge/lua51/HISTORY | 7 | ||||
-rwxr-xr-x | lua-forge/lua51/PRE_BUILD | 2 |
2 files changed, 7 insertions, 2 deletions
diff --git a/lua-forge/lua51/HISTORY b/lua-forge/lua51/HISTORY index 218a311d2c..d92f8ca448 100644 --- a/lua-forge/lua51/HISTORY +++ b/lua-forge/lua51/HISTORY @@ -1,6 +1,11 @@ +2019-07-08 Eric Sandall <sandalle@sourcemage.org> + * Set 64-bit for EM64T as well. + Sorcery devel (from git), glibc, gcc, or updated smgl-archspecs changed + SMGL_COMPAT_ARCHS[1] from x86_64 to em64t. + 2014-07-06 Remko van der Vossen <wich@sourcemage.org> * patch-src_Makefile: shared object was not linked - to libraries properly + to libraries properly 2013-02-17 Robin Cook <rcook@wyrms.net> * DETAILS: updated VERSION to 5.1.5 diff --git a/lua-forge/lua51/PRE_BUILD b/lua-forge/lua51/PRE_BUILD index 7400d611a0..fd1efffe27 100755 --- a/lua-forge/lua51/PRE_BUILD +++ b/lua-forge/lua51/PRE_BUILD @@ -12,7 +12,7 @@ sed -i "s:/usr/local:$INSTALL_ROOT/usr:" etc/lua.pc src/luaconf.h Makefile && # fix man-installation path sed -i "s:man/:share/man/:" etc/lua.pc Makefile && -if [ "${SMGL_COMPAT_ARCHS[1]}" = x86_64 ]; then +if [[ "${SMGL_COMPAT_ARCHS[1]}" == "x86_64" || "${SMGL_COMPAT_ARCHS[1]}" == "em64t" ]]; then CFLAGS="${CFLAGS} -fPIC" fi && |