Always set target
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm?expand=0&rev=118
This commit is contained in:
parent
485f05ee26
commit
98018c7b56
@ -158,7 +158,7 @@ pushd stage1
|
|||||||
--disable-assertions \
|
--disable-assertions \
|
||||||
--with-optimize-option="-O0" \
|
--with-optimize-option="-O0" \
|
||||||
%ifarch x86
|
%ifarch x86
|
||||||
--host=i586-linux \
|
--target=i586-linux \
|
||||||
%endif
|
%endif
|
||||||
--enable-targets=host
|
--enable-targets=host
|
||||||
|
|
||||||
@ -173,7 +173,7 @@ export CXX=$TOPLEVEL/stage1/Release/bin/clang++
|
|||||||
cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} \
|
cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} \
|
||||||
-DCMAKE_BUILD_TYPE=Release \
|
-DCMAKE_BUILD_TYPE=Release \
|
||||||
%ifarch x86
|
%ifarch x86
|
||||||
-DLLVM_TARGET_ARCH=i586-linux
|
-DLLVM_TARGET_ARCH=i586-linux \
|
||||||
%endif
|
%endif
|
||||||
-DLLVM_TARGETS_TO_BUILD=%{_supported_archs} \
|
-DLLVM_TARGETS_TO_BUILD=%{_supported_archs} \
|
||||||
..
|
..
|
||||||
|
Loading…
x
Reference in New Issue
Block a user