mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-24 18:23:26 -03:00
Merge bitcoin/bitcoin#31502: depends: Fix CXXFLAGS
on NetBSD
a10bb400e8
depends: Fix CXXFLAGS on NetBSD (Hennadii Stepanov) Pull request description: This PR corrects an issue where `CXXFLAGS` were mistakenly overridden by `CFLAGS`. This behaviour was introduced in7e7b3e42fa
(from https://github.com/bitcoin/bitcoin/pull/22380). On the master branch: ``` $ gmake --no-print-directory -C depends print-x86_64_netbsd_CXXFLAGS x86_64_netbsd_CXXFLAGS=-pipe -std=c11 ``` With this PR: ``` $ gmake --no-print-directory -C depends print-x86_64_netbsd_CXXFLAGS x86_64_netbsd_CXXFLAGS=-pipe -std=c++20 ``` ACKs for top commit: theuni: utACKa10bb400e8
Tree-SHA512: 0c842db2965ebb0a58693394715922810235d9e5f2a7416fe258eb252dbd68ec04f90a0f7948abe938caf94a9194cca7deb53a08335c4404cce3a40c5cb44944
This commit is contained in:
commit
d2136d32bb
1 changed files with 0 additions and 2 deletions
|
@ -7,8 +7,6 @@ netbsd_NM = $(host_toolchain)gcc-nm
|
|||
netbsd_RANLIB = $(host_toolchain)gcc-ranlib
|
||||
endif
|
||||
|
||||
netbsd_CXXFLAGS=$(netbsd_CFLAGS)
|
||||
|
||||
netbsd_release_CFLAGS=-O2
|
||||
netbsd_release_CXXFLAGS=$(netbsd_release_CFLAGS)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue