diff --git a/erlang.spec b/erlang.spec index 417a70d..9991139 100644 --- a/erlang.spec +++ b/erlang.spec @@ -16,6 +16,9 @@ %endif %endif +# Compile with FIPS support by default +%bcond_without fips + ## ## Optional components ## @@ -711,6 +714,7 @@ ERL_FLAGS="${RPM_OPT_FLAGS} -fno-strict-aliasing" CFLAGS="${ERL_FLAGS}" CXXFLAGS="${ERL_FLAGS}" %configure --enable-shared-zlib --enable-sctp --enable-systemd --disable-silent-rules \ %{?__without_kernel_poll:--disable-kernel-poll} \ + %{?with_fips:--enable-fips} \ %if %{__with_java} \ %else