From cb4e7901f600b3489fd444dde429ce2e91802c64170ef9774301b268514fea4a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Thu, 22 Mar 2012 08:07:45 +0000 Subject: [PATCH] Fix 64bit builds OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm?expand=0&rev=129 --- llvm.spec | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/llvm.spec b/llvm.spec index 1f3dbf7..c076605 100644 --- a/llvm.spec +++ b/llvm.spec @@ -176,15 +176,16 @@ make %{?_smp_mflags} popd pushd stage3 -# Needed to make clang resource dir working inside build tree -ln -s lib lib64 + +# autotools ignore --libdir +mkdir Release +ln -s lib Release/lib64 export CC=$TOPLEVEL/stage2/Release/bin/clang export CXX=$TOPLEVEL/stage2/Release/bin/clang++ ../configure \ --prefix=%{_prefix} \ - --libdir=%{_libdir} \ --enable-optimized \ --disable-assertions \ --enable-pic \