Accepting request 286987 from home:rguenther:branches:devel:tools:compiler

- Add llvm-fix-intrusiverefcntptr.patch to fix build of LLVM tools
  with GCC 5.
- Add llvm-fix-find-gcc5-install.patch to properly find installed GCC 5.

OBS-URL: https://build.opensuse.org/request/show/286987
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm?expand=0&rev=398
This commit is contained in:
Ismail Dönmez
2015-02-20 14:48:13 +00:00
committed by Git OBS Bridge
parent f086429bfc
commit 4d07e73cc1
5 changed files with 46 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package llvm
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -65,6 +65,8 @@ Patch10: clang-resourcedirs.patch
Patch11: libcxxabi-exceptions.patch
Patch12: libcxx-libdir.patch
Patch13: llvm-remove-clang-only-flags.patch
Patch14: llvm-fix-intrusiverefcntptr.patch
Patch15: llvm-fix-find-gcc5-install.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: binutils-devel >= 2.21.90
BuildRequires: bison
@@ -171,6 +173,8 @@ This package contains the Python bindings to clang (C language) frontend for LLV
%patch11
%patch12
%patch13 -p1
%patch14
%patch15
# Move into right place
mv cfe-%{version}.src tools/clang