Skip to content

Commit

Permalink
build: cleanup and changes
Browse files Browse the repository at this point in the history
  • Loading branch information
BlackcoinDev committed Nov 26, 2023
1 parent e1880cf commit 9af50e6
Show file tree
Hide file tree
Showing 10 changed files with 7 additions and 1,424 deletions.
8 changes: 4 additions & 4 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ AC_ARG_ENABLE([fuzz-binary],
AS_HELP_STRING([--enable-fuzz-binary],
[enable building of fuzz binary (default yes).]),
[enable_fuzz_binary=$enableval],
[enable_fuzz_binary=no])
[enable_fuzz_binary=yes])

AC_ARG_WITH([qrencode],
[AS_HELP_STRING([--with-qrencode],
Expand All @@ -215,9 +215,9 @@ AC_ARG_WITH([qrencode],

AC_ARG_ENABLE([hardening],
[AS_HELP_STRING([--disable-hardening],
[do not attempt to harden the resulting executables (default is to harden)])],
[do not attempt to harden the resulting executables (default is to harden when possible)])],
[use_hardening=$enableval],
[use_hardening=yes])
[use_hardening=auto])

AC_ARG_ENABLE([reduce-exports],
[AS_HELP_STRING([--enable-reduce-exports],
Expand Down Expand Up @@ -335,7 +335,7 @@ AC_ARG_ENABLE([werror],
AC_ARG_ENABLE([external-signer],
[AS_HELP_STRING([--enable-external-signer],[compile external signer support (default is auto, requires Boost::Process)])],
[use_external_signer=$enableval],
[use_external_signer=no])
[use_external_signer=auto])

AC_ARG_ENABLE([lto],
[AS_HELP_STRING([--enable-lto],[build using LTO (default is no)])],
Expand Down
5 changes: 0 additions & 5 deletions contrib/guix/manifest.scm
Original file line number Diff line number Diff line change
Expand Up @@ -171,11 +171,6 @@ desirable for building Bitcoin Core release binaries."
(search-our-patches "vmov-alignment.patch"
"gcc-broken-longjmp.patch")))

(define (make-mingw-w64-cross-gcc cross-gcc)
(package-with-extra-patches cross-gcc
(search-our-patches "vmov-alignment.patch"
"gcc-broken-longjmp.patch")))

(define (make-mingw-pthreads-cross-toolchain target)
"Create a cross-compilation toolchain package for TARGET"
(let* ((xbinutils (cross-binutils target))
Expand Down
14 changes: 0 additions & 14 deletions share/certs/Notfiat_LLC_of_Delaware__cert_59899_pub.pem

This file was deleted.

6 changes: 3 additions & 3 deletions src/Makefile.test.include
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ if USE_NATPMP
FUZZ_SUITE_LD_COMMON += $(NATPMP_LIBS)
endif

# test_bitcoin binary #
# test_blackmore binary #
BITCOIN_TESTS =\
test/addrman_tests.cpp \
test/allocator_tests.cpp \
Expand Down Expand Up @@ -217,7 +217,7 @@ endif

test_test_blackmore_LDADD += $(LIBBITCOIN_NODE) $(LIBBITCOIN_CLI) $(LIBBITCOIN_COMMON) $(LIBBITCOIN_UTIL) $(LIBBITCOIN_CONSENSUS) $(LIBBITCOIN_CRYPTO) $(LIBUNIVALUE) \
$(LIBLEVELDB) $(LIBMEMENV) $(LIBSECP256K1) $(EVENT_LIBS) $(EVENT_PTHREADS_LIBS) $(MINISKETCH_LIBS)
test_test_bitcoin_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
test_test_blackmore_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)

test_test_blackmore_LDADD += $(BDB_LIBS) $(MINIUPNPC_LIBS) $(NATPMP_LIBS) $(SQLITE_LIBS)
test_test_blackmore_LDFLAGS = $(RELDFLAGS) $(AM_LDFLAGS) $(LIBTOOL_APP_LDFLAGS) $(PTHREAD_FLAGS) -static
Expand Down Expand Up @@ -377,7 +377,7 @@ endif
if TARGET_WINDOWS
else
if ENABLE_BENCH
@echo "Running bench/bench_bitcoin (one iteration sanity check, only high priority)..."
@echo "Running bench/bench_blackmore (one iteration sanity check, only high priority)..."
$(BENCH_BINARY) -sanity-check -priority-level=high
endif
endif
Expand Down
7 changes: 0 additions & 7 deletions src/compat/byteswap.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,11 @@

#if defined(MAC_OSX)

#if !defined(bswap_16)

// Mac OS X / Darwin features; we include a check for bswap_16 because if it is already defined, protobuf has
// defined these macros for us already; if it isn't, we do it ourselves. In either case, we get the exact same
// result regardless which path was taken
#include <libkern/OSByteOrder.h>
#define bswap_16(x) OSSwapInt16(x)
#define bswap_32(x) OSSwapInt32(x)
#define bswap_64(x) OSSwapInt64(x)

#endif // !defined(bswap_16)

#else
// Non-MacOS / non-Darwin

Expand Down
Binary file removed src/secp256k1/gen_context
Binary file not shown.
1,163 changes: 0 additions & 1,163 deletions src/secp256k1/src/ecmult_static_context.h

This file was deleted.

114 changes: 0 additions & 114 deletions src/secp256k1/src/libsecp256k1-config.h

This file was deleted.

113 changes: 0 additions & 113 deletions src/secp256k1/src/libsecp256k1-config.h.in

This file was deleted.

1 change: 0 additions & 1 deletion src/secp256k1/src/stamp-h1

This file was deleted.

0 comments on commit 9af50e6

Please sign in to comment.