mirror of
https://github.com/Retropex/bitcoin.git
synced 2025-05-13 03:30: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=$enableval],
|
||||||
[use_reduce_exports=no])
|
[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],
|
AC_ARG_ENABLE([ccache],
|
||||||
[AS_HELP_STRING([--disable-ccache],
|
[AS_HELP_STRING([--disable-ccache],
|
||||||
[do not use ccache for building (default is to use if found)])],
|
[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])
|
AX_CHECK_LINK_FLAG([-Wl,-no_exported_symbols], [LIBTOOL_APP_LDFLAGS="$LIBTOOL_APP_LDFLAGS -Wl,-no_exported_symbols"], [], [$LDFLAG_WERROR])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
CXXFLAGS="$CXXFLAGS $append_cxxflags"
|
||||||
|
|
||||||
if test "$use_tests" = "yes"; then
|
if test "$use_tests" = "yes"; then
|
||||||
|
|
||||||
if test "$HEXDUMP" = ""; then
|
if test "$HEXDUMP" = ""; then
|
||||||
|
Loading…
Reference in New Issue
Block a user