Fix compilation in RHEL.

There is no luajit in RHEL.
This commit is contained in:
Rafael Fonseca 2017-08-20 13:40:26 +02:00
parent c79771634a
commit 631fb6eba1
1 changed files with 4 additions and 0 deletions

View File

@ -1,5 +1,8 @@
%global _hardened_build 1
%if 0%{?rhel}
%global has_luajit 0
%else
%ifarch %{arm} %{ix86} x86_64
%global has_luajit 1
%endif
@ -10,6 +13,7 @@
%global has_luajit 0
%endif
%endif
%endif
# Look, you probably don't want this. scim is so 2012. ibus is the new hotness.
# Enabling this means you'll almost certainly need to pass ECORE_IMF_MODULE=xim