bitcoin/depends/hosts
fanquake 228edafc66
Merge bitcoin/bitcoin#23619: build: Propagate user-defined flags to host packages
a3a2bd9e8a ci: Drop no longer needed package-specific flags (Hennadii Stepanov)
071eef1e97 build: Propagate user-defined flags to host packages (Hennadii Stepanov)

Pull request description:

  On master (4f8b1f8759) `{CPP,C,CXX,LD}FLAGS` that are specified in the command line are not propagated to packages:
  ```
  $ make --no-print-directory -C depends print-libevent_cxxflags CXXFLAGS=-some-fancy-flag
  libevent_cxxflags=-pipe -O2
  ```

  This PR:
  - propagates `{CPP,C,CXX,LD}FLAGS` to host packages:
  ```
  $ make --no-print-directory -C depends print-libevent_cxxflags CXXFLAGS=-some-fancy-flag
  libevent_cxxflags= -some-fancy-flag
  ```
  - does not propagate `{CPP,C,CXX,LD}FLAGS` to native packages:
  ```
  $ make --no-print-directory -C depends print-native_b2_cxxflags CXXFLAGS=-some-fancy-flag
  native_b2_cxxflags=
  ```
  - actually addresses the https://github.com/bitcoin/bitcoin/pull/23551#issuecomment-973896518

ACKs for top commit:
  TheCharlatan:
    Code review ACK a3a2bd9e8a

Tree-SHA512: 243d6b1b0e9c5de46debc36de62a77b6b4d6f638940fd530040c219956ec624e321b0c25290fed164e3a8c88befa7b97b20f765d7b9a428c269b3720f21da099
2023-01-30 14:32:32 +00:00
..
android.mk build: add and use CXX_STANDARD in depends 2022-06-16 17:01:05 +01:00
darwin.mk cctools: fixup building with LTO 2022-07-29 12:48:19 +01:00
default.mk Merge bitcoin/bitcoin#23619: build: Propagate user-defined flags to host packages 2023-01-30 14:32:32 +00:00
freebsd.mk build: add and use CXX_STANDARD in depends 2022-06-16 17:01:05 +01:00
linux.mk depends: default to using GCC tool wrappers (with GCC) 2022-07-18 17:13:55 +01:00
mingw32.mk depends: default to using GCC tool wrappers (with GCC) 2022-07-18 17:13:55 +01:00
netbsd.mk depends: default to using GCC tool wrappers (with GCC) 2022-07-18 17:13:55 +01:00
openbsd.mk build: add and use CXX_STANDARD in depends 2022-06-16 17:01:05 +01:00