Add patch from upstream to fix the build issue with CMake.

fom Brad (maintainer)
This commit is contained in:
ajacoutot 2016-10-18 06:59:02 +00:00
parent 98d8b28d78
commit b99df0def6
2 changed files with 14 additions and 2 deletions

View File

@ -1,11 +1,11 @@
$OpenBSD: patch-tools_clang_lib_Driver_Tools_cpp,v 1.36 2016/10/07 08:55:30 ajacoutot Exp $
$OpenBSD: patch-tools_clang_lib_Driver_Tools_cpp,v 1.37 2016/10/18 06:59:02 ajacoutot Exp $
- Select proper SPARCv9 variant for the external assembler
- For now, force soft-float on ARM
- Set ABI for ARM
- Disable -fstrict-aliasing per default on OpenBSD
- Produce EH frame header for all binaries
- Link static PIEs with the correct C runtime (rcrt0.o)
- Link static PIE programs against rcrt0.o on OpenBSD
--- tools/clang/lib/Driver/Tools.cpp.orig Sat Aug 13 16:43:56 2016
+++ tools/clang/lib/Driver/Tools.cpp Tue Sep 27 22:10:52 2016

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-tools_lld_COFF_CMakeLists_txt,v 1.1 2016/10/18 06:59:02 ajacoutot Exp $
[CMake] Add missing dependency on intrinsics_gen
--- tools/lld/COFF/CMakeLists.txt.orig Mon Oct 17 21:44:52 2016
+++ tools/lld/COFF/CMakeLists.txt Mon Oct 17 21:45:33 2016
@@ -33,4 +33,4 @@ add_lld_library(lldCOFF
LINK_LIBS ${PTHREAD_LIB}
)
-add_dependencies(lldCOFF COFFOptionsTableGen)
+add_dependencies(lldCOFF COFFOptionsTableGen intrinsics_gen)