Created
November 17, 2019 14:25
-
-
Save holishing/deacbd7c46c50dcda6ae0715167d466c to your computer and use it in GitHub Desktop.
LuaJIT epel8 i686 build patch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/luajit.spec b/luajit.spec | |
| index db4e9fc..2cb4cac 100644 | |
| --- a/luajit.spec | |
| +++ b/luajit.spec | |
| @@ -137,6 +137,12 @@ sed -i -e '/install -m/s/-m/-p -m/' Makefile | |
| # Q= - enable verbose output | |
| # E= @: - disable @echo messages | |
| # NOTE: we use amalgamated build as per documentation suggestion doc/install.html | |
| +%ifarch i686 | |
| +make amalg CC="gcc -m32" Q= E=@: PREFIX=%{_prefix} TARGET_STRIP=: \ | |
| + CFLAGS="%{build_cflags}" LDFLAGS="%{build_ldflags}" \ | |
| + MULTILIB=%{_lib} \ | |
| + %{?_smp_mflags} | |
| +%endif | |
| make amalg Q= E=@: PREFIX=%{_prefix} TARGET_STRIP=: \ | |
| CFLAGS="%{build_cflags}" LDFLAGS="%{build_ldflags}" \ | |
| MULTILIB=%{_lib} \ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment