From 0e9857d448faeaa3963ec838a03152c7e0b26d98 Mon Sep 17 00:00:00 2001 From: Brent Cook Date: Fri, 11 Jul 2014 03:43:24 -0500 Subject: [PATCH] put CPP defines in CPPFLAGS --- Makefile.am.common | 2 ++ configure.ac | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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*)