mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-31 11:17:29 +02:00
configure.ac: fips 140-3: don't insist on linuxkm-pie unless configuring an actual linuxkm build.
This commit is contained in:
@ -438,9 +438,9 @@ AC_ARG_ENABLE([linuxkm-pie],
|
|||||||
if test "$ENABLED_LINUXKM_PIE" = "yes"
|
if test "$ENABLED_LINUXKM_PIE" = "yes"
|
||||||
then
|
then
|
||||||
AM_CFLAGS="$AM_CFLAGS -DHAVE_LINUXKM_PIE_SUPPORT"
|
AM_CFLAGS="$AM_CFLAGS -DHAVE_LINUXKM_PIE_SUPPORT"
|
||||||
elif test "$ENABLED_FIPS" = yes
|
elif test "$ENABLED_FIPS" = yes && test "$ENABLED_LINUXKM" = yes
|
||||||
then
|
then
|
||||||
AC_MSG_ERROR([FIPS requires linuxkm-pie.])
|
AC_MSG_ERROR([FIPS linuxkm requires linuxkm-pie.])
|
||||||
fi
|
fi
|
||||||
AC_SUBST([ENABLED_LINUXKM_PIE])
|
AC_SUBST([ENABLED_LINUXKM_PIE])
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user