-
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm?expand=0&rev=186
This commit is contained in:
parent
bfca47c7f6
commit
5599a1d629
@ -157,6 +157,10 @@ mkdir stage1 stage2
|
|||||||
pushd stage1
|
pushd stage1
|
||||||
mkdir Release
|
mkdir Release
|
||||||
|
|
||||||
|
%if "%{_lib}" == "lib64"
|
||||||
|
ln -s lib Release/lib64
|
||||||
|
%endif
|
||||||
|
|
||||||
../configure \
|
../configure \
|
||||||
--enable-optimized \
|
--enable-optimized \
|
||||||
--disable-assertions \
|
--disable-assertions \
|
||||||
@ -174,9 +178,11 @@ make %{?_smp_mflags} clang-only
|
|||||||
popd
|
popd
|
||||||
pushd stage2
|
pushd stage2
|
||||||
|
|
||||||
# autotools ignore --libdir
|
|
||||||
mkdir Release+Debug
|
mkdir Release+Debug
|
||||||
|
# autotools ignore --libdir
|
||||||
|
%if "%{_lib}" == "lib64"
|
||||||
ln -s lib Release+Debug/lib64
|
ln -s lib Release+Debug/lib64
|
||||||
|
%endif
|
||||||
|
|
||||||
export CC=$TOPLEVEL/stage1/Release/bin/clang
|
export CC=$TOPLEVEL/stage1/Release/bin/clang
|
||||||
export CXX=$TOPLEVEL/stage1/Release/bin/clang++
|
export CXX=$TOPLEVEL/stage1/Release/bin/clang++
|
||||||
|
Loading…
x
Reference in New Issue
Block a user