mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-08 10:31:50 -05:00
configure: Skip assembly support checks, when assembly is disabled
This commit is contained in:
parent
d8ab8dc12d
commit
afe0875577
1 changed files with 4 additions and 0 deletions
|
@ -314,6 +314,8 @@ if test "x$CXXFLAGS_overridden" = "xno"; then
|
||||||
AX_CHECK_COMPILE_FLAG([-Wimplicit-fallthrough],[NOWARN_CXXFLAGS="$NOWARN_CXXFLAGS -Wno-implicit-fallthrough"],,[[$CXXFLAG_WERROR]])
|
AX_CHECK_COMPILE_FLAG([-Wimplicit-fallthrough],[NOWARN_CXXFLAGS="$NOWARN_CXXFLAGS -Wno-implicit-fallthrough"],,[[$CXXFLAG_WERROR]])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if test "x$use_asm" = "xyes"; then
|
||||||
|
|
||||||
# Check for optional instruction set support. Enabling these does _not_ imply that all code will
|
# Check for optional instruction set support. Enabling these does _not_ imply that all code will
|
||||||
# be compiled with them, rather that specific objects/libs may use them after checking for runtime
|
# be compiled with them, rather that specific objects/libs may use them after checking for runtime
|
||||||
# compatibility.
|
# compatibility.
|
||||||
|
@ -391,6 +393,8 @@ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
|
||||||
)
|
)
|
||||||
CXXFLAGS="$TEMP_CXXFLAGS"
|
CXXFLAGS="$TEMP_CXXFLAGS"
|
||||||
|
|
||||||
|
fi
|
||||||
|
|
||||||
CPPFLAGS="$CPPFLAGS -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS"
|
CPPFLAGS="$CPPFLAGS -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS"
|
||||||
|
|
||||||
AC_ARG_WITH([utils],
|
AC_ARG_WITH([utils],
|
||||||
|
|
Loading…
Add table
Reference in a new issue