Skip to content

Commit 00ac1b9

Browse files
committed
Merge bitcoin/bitcoin#29960: depends: pass verbose through to cmake based makefiles
7c69baf depends: pass verbose through to cmake based make (Max Edwards) Pull request description: While testing bitcoin/bitcoin#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 7c69baf. Tested using the folowing command: fanquake: ACK 7c69baf Tree-SHA512: 81cd1326e940c5f14cbde96735fd02b03c1150881ed88d1e8dfa9385dfa12284bfa2cdfe097ce5f43a726c1718afb76ae16f71552ab68c207d74fdc1f7bb46ae
2 parents f7b81c7 + 7c69baf commit 00ac1b9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

depends/funcs.mk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,7 @@ $(1)_cmake=env CC="$$($(1)_cc)" \
182182
cmake -DCMAKE_INSTALL_PREFIX:PATH="$$($($(1)_type)_prefix)" \
183183
-DCMAKE_INSTALL_LIBDIR=lib/ \
184184
-DCMAKE_POSITION_INDEPENDENT_CODE=ON \
185+
-DCMAKE_VERBOSE_MAKEFILE:BOOL=$(V) \
185186
$$($(1)_config_opts)
186187
ifeq ($($(1)_type),build)
187188
$(1)_cmake += -DCMAKE_INSTALL_RPATH:PATH="$$($($(1)_type)_prefix)/lib"

0 commit comments

Comments
 (0)