diff --git a/Makefile.am.common b/Makefile.am.common index 7c8b280..9586e15 100644 --- a/Makefile.am.common +++ b/Makefile.am.common @@ -1,2 +1,4 @@ AM_CPPFLAGS = -I$(top_srcdir)/include AM_CPPFLAGS += -DOPENSSL_NO_ASM +AM_CPPFLAGS += -DHAVE_CRYPTODEV +AM_CPPFLAGS += -DLIBRESSL_INTERNAL diff --git a/configure.ac b/configure.ac index 549f303..7aec0b7 100644 --- a/configure.ac +++ b/configure.ac @@ -6,7 +6,7 @@ AC_CONFIG_MACRO_DIR([m4]) m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) AC_SUBST([USER_CFLAGS], "-O2 $CFLAGS") -CFLAGS="$CFLAGS -Wall -Werror -std=c99 -g -Wno-pointer-sign -DHAVE_CRYPTODEV -DLIBRESSL_INTERNAL" +CFLAGS="$CFLAGS -Wall -Werror -std=c99 -g -Wno-pointer-sign" case $target_os in *darwin*)