mirror of
https://github.com/Retropex/bitcoin.git
synced 2025-05-28 04:52:36 +02:00
build: Add --with-append-cxxflags option
Github-Pull: #22159 Rebased-From: fa14c6818f4094669584a110a517fa1347f1f36e
This commit is contained in:
parent
30308cc380
commit
ac07122c1a
@ -220,6 +220,11 @@ AC_ARG_ENABLE([reduce-exports],
|
||||
[use_reduce_exports=$enableval],
|
||||
[use_reduce_exports=no])
|
||||
|
||||
AC_ARG_WITH([append-cxxflags],
|
||||
[AS_HELP_STRING([--with-append-cxxflags],
|
||||
[append given cxxflags without checking them (default is empty string)])],
|
||||
[append_cxxflags=$withval])
|
||||
|
||||
AC_ARG_ENABLE([ccache],
|
||||
[AS_HELP_STRING([--disable-ccache],
|
||||
[do not use ccache for building (default is to use if found)])],
|
||||
@ -1497,6 +1502,8 @@ if test "$use_reduce_exports" = "yes"; then
|
||||
AX_CHECK_LINK_FLAG([-Wl,--exclude-libs,ALL], [RELDFLAGS="-Wl,--exclude-libs,ALL"], [], [$LDFLAG_WERROR])
|
||||
fi
|
||||
|
||||
CXXFLAGS="$CXXFLAGS $append_cxxflags"
|
||||
|
||||
if test "$use_tests" = "yes"; then
|
||||
|
||||
if test "$HEXDUMP" = ""; then
|
||||
|
Loading…
Reference in New Issue
Block a user