mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-29 18:27: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"
|
||||
then
|
||||
AM_CFLAGS="$AM_CFLAGS -DHAVE_LINUXKM_PIE_SUPPORT"
|
||||
elif test "$ENABLED_FIPS" = yes
|
||||
elif test "$ENABLED_FIPS" = yes && test "$ENABLED_LINUXKM" = yes
|
||||
then
|
||||
AC_MSG_ERROR([FIPS requires linuxkm-pie.])
|
||||
AC_MSG_ERROR([FIPS linuxkm requires linuxkm-pie.])
|
||||
fi
|
||||
AC_SUBST([ENABLED_LINUXKM_PIE])
|
||||
|
||||
|
Reference in New Issue
Block a user