mirror of
https://github.com/Retropex/bitcoin.git
synced 2025-05-12 19:20:42 +02:00
Merge 22159 via conf_append_cxxflags-23
This commit is contained in:
commit
a060ae018e
@ -216,6 +216,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)])],
|
||||
@ -1410,6 +1415,8 @@ if test "$use_reduce_exports" = "yes"; then
|
||||
AX_CHECK_LINK_FLAG([-Wl,-no_exported_symbols], [LIBTOOL_APP_LDFLAGS="$LIBTOOL_APP_LDFLAGS -Wl,-no_exported_symbols"], [], [$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