From 1a8edd9849de397adc657e3e6fcf6da78e6b7eea299cfa3696b6423f32ae1b8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Thu, 21 Nov 2013 13:34:22 +0000 Subject: [PATCH] Update for s390x OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm?expand=0&rev=295 --- llvm-no-visibility.patch | 18 ------------------ llvm.spec | 11 ----------- 2 files changed, 29 deletions(-) delete mode 100644 llvm-no-visibility.patch diff --git a/llvm-no-visibility.patch b/llvm-no-visibility.patch deleted file mode 100644 index 1f3ae01..0000000 --- a/llvm-no-visibility.patch +++ /dev/null @@ -1,18 +0,0 @@ -Index: llvm-3.3/cmake/modules/HandleLLVMOptions.cmake -=================================================================== ---- llvm-3.3.orig/cmake/modules/HandleLLVMOptions.cmake -+++ llvm-3.3/cmake/modules/HandleLLVMOptions.cmake -@@ -104,13 +104,6 @@ if( LLVM_ENABLE_PIC ) - # On Windows all code is PIC. MinGW warns if -fPIC is used. - else() - add_flag_or_print_warning("-fPIC") -- -- if( WIN32 OR CYGWIN) -- # MinGW warns if -fvisibility-inlines-hidden is used. -- else() -- check_cxx_compiler_flag("-fvisibility-inlines-hidden" SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG) -- append_if(SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG "-fvisibility-inlines-hidden" CMAKE_CXX_FLAGS) -- endif() - endif() - endif() - diff --git a/llvm.spec b/llvm.spec index ec8ddb7..f468762 100644 --- a/llvm.spec +++ b/llvm.spec @@ -42,8 +42,6 @@ Patch6: arm_suse_support.diff Patch8: cmake-host-triple.patch # PATCH-FIX-OPENSUSE aarch64-suse-support.patch -- Enable AArch64 suse toolchain support Patch9: aarch64-suse-support.patch -# PATCH-FIX-OPENSUSE llvm-no-visibility.patch -- Disable visibility -Patch10: llvm-no-visibility.patch Patch12: arm-remove-xfails.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: autoconf @@ -152,9 +150,6 @@ This package contains vim plugins for LLVM like syntax highlighting. %patch6 -p1 %patch8 -p1 %patch9 -p1 -%ifarch s390 s390x -%patch10 -p1 -%endif %patch12 # We hardcode i586 @@ -293,12 +288,6 @@ cd stage2 ln -s lib lib64 %endif -%ifarch s390 s390x -for i in TestClassDecl.m TestClassForwardDecl.m c-index-getCursor-test.m; do - rm ../tools/clang/test/Index/$i; -done -%endif - make check make clang-test %endif