- Rename llvm-remove-werror-date-time.patch to

llvm-remove-clang-only-flags.patch and remove more clang only
  flags.

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm?expand=0&rev=390
This commit is contained in:
Ismail Dönmez 2014-09-29 09:42:27 +00:00 committed by Git OBS Bridge
parent 1cdbd51efb
commit 6bdddb5200
3 changed files with 22 additions and 1 deletions

View File

@ -12,3 +12,17 @@ Index: llvm-3.5.0.src/cmake/modules/HandleLLVMOptions.cmake
if (LLVM_ENABLE_CXX1Y)
check_cxx_compiler_flag("-std=c++1y" CXX_SUPPORTS_CXX1Y)
append_if(CXX_SUPPORTS_CXX1Y "-std=c++1y" CMAKE_CXX_FLAGS)
@@ -367,13 +364,6 @@ add_llvm_definitions( -D__STDC_CONSTANT_
add_llvm_definitions( -D__STDC_FORMAT_MACROS )
add_llvm_definitions( -D__STDC_LIMIT_MACROS )
-# clang doesn't print colored diagnostics when invoked from Ninja
-if (UNIX AND
- CMAKE_CXX_COMPILER_ID STREQUAL "Clang" AND
- CMAKE_GENERATOR STREQUAL "Ninja")
- append("-fcolor-diagnostics" CMAKE_C_FLAGS CMAKE_CXX_FLAGS)
-endif()
-
# Add flags for add_dead_strip().
# FIXME: With MSVS, consider compiling with /Gy and linking with /OPT:REF?
# But MinSizeRel seems to add that automatically, so maybe disable these

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Sep 29 09:40:52 UTC 2014 - idonmez@suse.com
- Rename llvm-remove-werror-date-time.patch to
llvm-remove-clang-only-flags.patch and remove more clang only
flags.
-------------------------------------------------------------------
Fri Sep 26 08:54:08 UTC 2014 - idonmez@suse.com

View File

@ -58,7 +58,7 @@ Patch9: arm-remove-xfails.diff
Patch10: clang-resourcedirs.patch
Patch11: libcxxabi-exceptions.patch
Patch12: libcxx-libdir.patch
Patch13: llvm-remove-werror-date-time.patch
Patch13: llvm-remove-clang-only-flags.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: binutils-devel >= 2.21.90
BuildRequires: bison