Undefine _FORTIFY_SOURCE on MinGW - Required for current MinGW versions
This commit is contained in:
parent
1d4017df58
commit
46afa6c3a9
1
configure
vendored
1
configure
vendored
@ -7042,6 +7042,7 @@ else
|
|||||||
:
|
:
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
CPPFLAGS="$CPPFLAGS -U_FORTIFY_SOURCE"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
@ -224,6 +224,7 @@ AX_CHECK_COMPILE_FLAG([-fvisibility=hidden],
|
|||||||
|
|
||||||
AS_CASE([$host_os], [cygwin*|mingw*|msys|pw32*|cegcc*], [ ], [
|
AS_CASE([$host_os], [cygwin*|mingw*|msys|pw32*|cegcc*], [ ], [
|
||||||
AX_CHECK_COMPILE_FLAG([-fPIC], [CFLAGS="$CFLAGS -fPIC"])
|
AX_CHECK_COMPILE_FLAG([-fPIC], [CFLAGS="$CFLAGS -fPIC"])
|
||||||
|
CPPFLAGS="$CPPFLAGS -U_FORTIFY_SOURCE"
|
||||||
])
|
])
|
||||||
|
|
||||||
AS_IF([test "$enable_pie" != "no"],[
|
AS_IF([test "$enable_pie" != "no"],[
|
||||||
|
Loading…
Reference in New Issue
Block a user