Skip to content

Commit

Permalink
Merge #114: cmake: Backport PR29484 from the master branch
Browse files Browse the repository at this point in the history
dc1a121 fixup! cmake: Check compiler features (Hennadii Stepanov)

Pull request description:

  This PR backports build system changes from bitcoin#29484.

ACKs for top commit:
  pablomartin4btc:
    ACK dc1a121

Tree-SHA512: e6005f96a9632fb4787d2dcfc558aa484be6401804ffcdfe68e6d17e39576d7fc55cbf17f0c7097f32c4639201f6b26c7098bb9a1cce801fee6bd77047cfa82d
  • Loading branch information
hebasto committed Mar 17, 2024
2 parents dda7fbc + dc1a121 commit efd3267
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 14 deletions.
3 changes: 0 additions & 3 deletions cmake/bitcoin-config.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@

#define BITCOIN_CONFIG_H

/* Define this symbol if type char equals int8_t */
#cmakedefine CHAR_EQUALS_INT8 1

/* Version Build */
#define CLIENT_VERSION_BUILD @CLIENT_VERSION_BUILD@

Expand Down
11 changes: 0 additions & 11 deletions cmake/introspection.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -195,17 +195,6 @@ check_cxx_source_compiles("
" HAVE_SYSCTL_ARND
)

check_cxx_source_compiles("
#include <cstdint>
#include <type_traits>
int main()
{
static_assert(std::is_same<int8_t, char>::value);
}
" CHAR_EQUALS_INT8
)

check_cxx_source_compiles("
int foo(void) __attribute__((visibility(\"default\")));
int main(){}
Expand Down

0 comments on commit efd3267

Please sign in to comment.