SHA256
1
0
forked from pool/llvm

- Really enable ARM support

- Remove forcing -frtti

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm?expand=0&rev=94
This commit is contained in:
Ismail Dönmez
2011-11-10 10:34:16 +00:00
committed by Git OBS Bridge
parent 8765ddc3df
commit bd026aef2c
2 changed files with 9 additions and 3 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Nov 10 10:33:01 UTC 2011 - idonmez@suse.com
- Really enable ARM support
- Remove forcing -frtti
-------------------------------------------------------------------
Mon Nov 7 15:05:52 UTC 2011 - idonmez@suse.com

View File

@@ -18,6 +18,7 @@
%define _revision 143961
%define _release_version 3.0
%define _supported_archs "ARM;X86"
Name: llvm
Version: 2.9.99.svn20111106
@@ -143,7 +144,7 @@ cd stage1
cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DLLVM_ENABLE_ASSERTIONS=TRUE \
-DLLVM_TARGETS_TO_BUILD="ARM;X86" \
-DLLVM_TARGETS_TO_BUILD=%{_supported_archs} \
..
make %{?_smp_mflags}
@@ -154,14 +155,13 @@ ln -s lib lib64
export CC=$TOPLEVEL/stage1/bin/clang
export CXX=$TOPLEVEL/stage1/bin/clang++
export CXXFLAGS="%{optflags} -frtti"
cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DLLVM_ENABLE_ASSERTIONS=FALSE \
-DLLVM_ENABLE_PIC=TRUE \
-DLLVM_ENABLE_TIMESTAMPS=FALSE \
-DLLVM_TARGETS_TO_BUILD=X86 \
-DLLVM_TARGETS_TO_BUILD=%{_supported_archs} \
-DCLANG_VENDOR="SUSE Linux" \
%ifarch x86_64
-DLLVM_LIBDIR_SUFFIX=64 \