From 98018c7b561784fb4ad7e1808d36844d81326f56f2eef906545678567e4ef1c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Tue, 20 Mar 2012 22:16:09 +0000 Subject: [PATCH] Always set target OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm?expand=0&rev=118 --- llvm.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/llvm.spec b/llvm.spec index 3071b9f..aba9381 100644 --- a/llvm.spec +++ b/llvm.spec @@ -158,7 +158,7 @@ pushd stage1 --disable-assertions \ --with-optimize-option="-O0" \ %ifarch x86 - --host=i586-linux \ + --target=i586-linux \ %endif --enable-targets=host @@ -173,7 +173,7 @@ export CXX=$TOPLEVEL/stage1/Release/bin/clang++ cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} \ -DCMAKE_BUILD_TYPE=Release \ %ifarch x86 - -DLLVM_TARGET_ARCH=i586-linux + -DLLVM_TARGET_ARCH=i586-linux \ %endif -DLLVM_TARGETS_TO_BUILD=%{_supported_archs} \ ..