SHA256
1
0
forked from pool/llvm
Ismail Dönmez 2012-12-03 21:14:21 +00:00 committed by Git OBS Bridge
parent bfca47c7f6
commit 5599a1d629

View File

@ -157,6 +157,10 @@ mkdir stage1 stage2
pushd stage1
mkdir Release
%if "%{_lib}" == "lib64"
ln -s lib Release/lib64
%endif
../configure \
--enable-optimized \
--disable-assertions \
@ -174,9 +178,11 @@ make %{?_smp_mflags} clang-only
popd
pushd stage2
# autotools ignore --libdir
mkdir Release+Debug
# autotools ignore --libdir
%if "%{_lib}" == "lib64"
ln -s lib Release+Debug/lib64
%endif
export CC=$TOPLEVEL/stage1/Release/bin/clang
export CXX=$TOPLEVEL/stage1/Release/bin/clang++