mirror of
https://github.com/dashpay/dash.git
synced 2024-12-24 19:42:46 +01:00
build: mingw needs libssp for hardening with dlls
This commit is contained in:
parent
e0077de5de
commit
811a765bef
@ -386,6 +386,12 @@ if test x$use_hardening != xno; then
|
|||||||
AX_CHECK_LINK_FLAG([[-pie]], [HARDENED_LDFLAGS="$HARDENED_LDFLAGS -pie"])
|
AX_CHECK_LINK_FLAG([[-pie]], [HARDENED_LDFLAGS="$HARDENED_LDFLAGS -pie"])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
case $host in
|
||||||
|
*mingw*)
|
||||||
|
AC_CHECK_LIB([ssp], [main],, AC_MSG_ERROR(lib missing))
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
CXXFLAGS="$CXXFLAGS $HARDENED_CXXFLAGS"
|
CXXFLAGS="$CXXFLAGS $HARDENED_CXXFLAGS"
|
||||||
CPPFLAGS="$CPPFLAGS $HARDENED_CPPFLAGS"
|
CPPFLAGS="$CPPFLAGS $HARDENED_CPPFLAGS"
|
||||||
LDFLAGS="$LDFLAGS $HARDENED_LDFLAGS"
|
LDFLAGS="$LDFLAGS $HARDENED_LDFLAGS"
|
||||||
|
Loading…
Reference in New Issue
Block a user