Add llvm via --with-llvm

(cherry picked from commit bff34b50fd8d367b4f2bbebfb09b32037d330cad)
This commit is contained in:
Jo Shields 2019-09-05 10:56:28 -04:00
parent 9a1a5e9b35
commit 163c203d1e

View File

@ -161,13 +161,11 @@ export MONO_CPU_ARCH="armv7l-thumb"
export MONO_CPU_ARCH="armv5el"
%endif
# distro specific configure options
%if %llvm == yes
export PATH=/usr/lib/mono/llvm/bin:$PATH
%endif
%configure \
--with-sgen=%{sgen} \
%if %llvm == yes
--enable-loadedllvm \
--with-llvm=/usr/lib/mono/llvm/ \
%endif
%ifarch ppc
--with-sigaltstack=no \