aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrent Cook <bcook@openbsd.org>2014-07-11 03:43:24 -0500
committerBrent Cook <bcook@openbsd.org>2014-07-11 03:56:57 -0500
commit0e9857d448faeaa3963ec838a03152c7e0b26d98 (patch)
tree5f6893d0581437507bf4e96c8b075f0ed887acbc
parent77b34fe012cab6b7d2cd535c6813c25d9afd3b10 (diff)
downloadportable-0e9857d448faeaa3963ec838a03152c7e0b26d98.tar.gz
portable-0e9857d448faeaa3963ec838a03152c7e0b26d98.tar.bz2
portable-0e9857d448faeaa3963ec838a03152c7e0b26d98.zip
put CPP defines in CPPFLAGS
-rw-r--r--Makefile.am.common2
-rw-r--r--configure.ac2
2 files changed, 3 insertions, 1 deletions
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 @@
1AM_CPPFLAGS = -I$(top_srcdir)/include 1AM_CPPFLAGS = -I$(top_srcdir)/include
2AM_CPPFLAGS += -DOPENSSL_NO_ASM 2AM_CPPFLAGS += -DOPENSSL_NO_ASM
3AM_CPPFLAGS += -DHAVE_CRYPTODEV
4AM_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])
6m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) 6m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
7 7
8AC_SUBST([USER_CFLAGS], "-O2 $CFLAGS") 8AC_SUBST([USER_CFLAGS], "-O2 $CFLAGS")
9CFLAGS="$CFLAGS -Wall -Werror -std=c99 -g -Wno-pointer-sign -DHAVE_CRYPTODEV -DLIBRESSL_INTERNAL" 9CFLAGS="$CFLAGS -Wall -Werror -std=c99 -g -Wno-pointer-sign"
10 10
11case $target_os in 11case $target_os in
12 *darwin*) 12 *darwin*)