https://github.com/Kitware/CMake
Revision e7e88e955bc773be792e645ee8558d78b4183a87 authored by Brad King on 26 September 2018, 13:46:27 UTC, committed by Brad King on 26 September 2018, 13:47:53 UTC
Backport libarchive commit v3.3.3~16^2 (fix build with LibreSSL 2.7,
2018-04-01).  LibreSSL 2.7 adds OpenSSL 1.1 API leading to conflicts on
method names.

Fixes: #18404
1 parent f478fa6
Raw File
Tip revision: e7e88e955bc773be792e645ee8558d78b4183a87 authored by Brad King on 26 September 2018, 13:46:27 UTC
libarchive: Backport fix for build with LibreSSL 2.7
Tip revision: e7e88e9
SDCC-C-DetermineCompiler.cmake

# sdcc, the small devices C compiler for embedded systems,
#   http://sdcc.sourceforge.net  */
set(_compiler_id_pp_test "defined(__SDCC_VERSION_MAJOR) || defined(SDCC)")

set(_compiler_id_version_compute "
# if defined(__SDCC_VERSION_MAJOR)
#  define COMPILER_VERSION_MAJOR @MACRO_DEC@(__SDCC_VERSION_MAJOR)
#  define COMPILER_VERSION_MINOR @MACRO_DEC@(__SDCC_VERSION_MINOR)
#  define COMPILER_VERSION_PATCH @MACRO_DEC@(__SDCC_VERSION_PATCH)
# else
  /* SDCC = VRP */
#  define COMPILER_VERSION_MAJOR @MACRO_DEC@(SDCC/100)
#  define COMPILER_VERSION_MINOR @MACRO_DEC@(SDCC/10 % 10)
#  define COMPILER_VERSION_PATCH @MACRO_DEC@(SDCC    % 10)
# endif")
back to top