- 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:
parent
1cdbd51efb
commit
6bdddb5200
@ -12,3 +12,17 @@ Index: llvm-3.5.0.src/cmake/modules/HandleLLVMOptions.cmake
|
|||||||
if (LLVM_ENABLE_CXX1Y)
|
if (LLVM_ENABLE_CXX1Y)
|
||||||
check_cxx_compiler_flag("-std=c++1y" CXX_SUPPORTS_CXX1Y)
|
check_cxx_compiler_flag("-std=c++1y" CXX_SUPPORTS_CXX1Y)
|
||||||
append_if(CXX_SUPPORTS_CXX1Y "-std=c++1y" CMAKE_CXX_FLAGS)
|
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
|
@ -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
|
Fri Sep 26 08:54:08 UTC 2014 - idonmez@suse.com
|
||||||
|
|
||||||
|
@ -58,7 +58,7 @@ Patch9: arm-remove-xfails.diff
|
|||||||
Patch10: clang-resourcedirs.patch
|
Patch10: clang-resourcedirs.patch
|
||||||
Patch11: libcxxabi-exceptions.patch
|
Patch11: libcxxabi-exceptions.patch
|
||||||
Patch12: libcxx-libdir.patch
|
Patch12: libcxx-libdir.patch
|
||||||
Patch13: llvm-remove-werror-date-time.patch
|
Patch13: llvm-remove-clang-only-flags.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: binutils-devel >= 2.21.90
|
BuildRequires: binutils-devel >= 2.21.90
|
||||||
BuildRequires: bison
|
BuildRequires: bison
|
||||||
|
Loading…
x
Reference in New Issue
Block a user