diff options
author | merge-script <fanquake@gmail.com> | 2024-05-06 09:47:29 +0800 |
---|---|---|
committer | merge-script <fanquake@gmail.com> | 2024-05-06 09:47:29 +0800 |
commit | 00ac1b963d08f2779d2197edcdb1e76392993378 (patch) | |
tree | cc7b2fe1dbf7384d12536fd7e5f46a77957eda91 | |
parent | f7b81c7e1edb1d2d972b8d1e81e40f381d9beb59 (diff) | |
parent | 7c69baf227252511455bc06e315f6a3c7fc5a398 (diff) | |
download | bitcoin-00ac1b963d08f2779d2197edcdb1e76392993378.tar.xz |
Merge bitcoin/bitcoin#29960: depends: pass verbose through to cmake based makefiles
7c69baf227252511455bc06e315f6a3c7fc5a398 depends: pass verbose through to cmake based make (Max Edwards)
Pull request description:
While testing https://github.com/bitcoin/bitcoin/pull/29708 I was not able to enable verbose output to check which flags were being given to the compiler.
With this PR, running depends with V=1 will enable verbose output from makefiles generated by cmake.
How to test:
```shell
make -C depends libnatpmp V=1
```
ACKs for top commit:
hebasto:
ACK 7c69baf227252511455bc06e315f6a3c7fc5a398. Tested using the folowing command:
fanquake:
ACK 7c69baf227252511455bc06e315f6a3c7fc5a398
Tree-SHA512: 81cd1326e940c5f14cbde96735fd02b03c1150881ed88d1e8dfa9385dfa12284bfa2cdfe097ce5f43a726c1718afb76ae16f71552ab68c207d74fdc1f7bb46ae
-rw-r--r-- | depends/funcs.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/depends/funcs.mk b/depends/funcs.mk index 494ed5d324..d8a72421b4 100644 --- a/depends/funcs.mk +++ b/depends/funcs.mk @@ -182,6 +182,7 @@ $(1)_cmake=env CC="$$($(1)_cc)" \ cmake -DCMAKE_INSTALL_PREFIX:PATH="$$($($(1)_type)_prefix)" \ -DCMAKE_INSTALL_LIBDIR=lib/ \ -DCMAKE_POSITION_INDEPENDENT_CODE=ON \ + -DCMAKE_VERBOSE_MAKEFILE:BOOL=$(V) \ $$($(1)_config_opts) ifeq ($($(1)_type),build) $(1)_cmake += -DCMAKE_INSTALL_RPATH:PATH="$$($($(1)_type)_prefix)/lib" |