diff --git a/llvm.spec b/llvm.spec index 27b01a5..3cf34ec 100644 --- a/llvm.spec +++ b/llvm.spec @@ -134,6 +134,7 @@ cd stage1 cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DLLVM_ENABLE_ASSERTIONS=TRUE \ + -DLLVM_TARGETS_TO_BUILD=X86 .. make %{?_smp_mflags} @@ -150,6 +151,7 @@ cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} \ -DLLVM_ENABLE_ASSERTIONS=TRUE \ -DLLVM_ENABLE_PIC=TRUE \ -DLLVM_ENABLE_TIMESTAMPS=FALSE \ + -DLLVM_TARGETS_TO_BUILD=X86 -DCLANG_VENDOR="SUSE Linux" \ %ifarch x86_64 -DLLVM_LIBDIR_SUFFIX=64 \