aboutsummaryrefslogtreecommitdiff
path: root/Makefile.am.common
diff options
context:
space:
mode:
authorJeremy Huddleston Sequoia <jeremyhu@apple.com>2015-10-11 16:46:55 -0700
committerBrent Cook <bcook@openbsd.org>2015-10-14 16:33:39 -0500
commit448645d47991e36337c11dff0271be77218e82c7 (patch)
tree13b11ef192d3ccc1206bf7119624716457b44591 /Makefile.am.common
parent9afc452761c630816e443b9e945f3db2259afbb9 (diff)
downloadportable-448645d47991e36337c11dff0271be77218e82c7.tar.gz
portable-448645d47991e36337c11dff0271be77218e82c7.tar.bz2
portable-448645d47991e36337c11dff0271be77218e82c7.zip
Use bundled headers instead of installed headers when building
The build system incorrectly set include directives in AM_CFLAGS which causes them to be placed after the configured CPPFLAGS. Thus, if a user or packaging system sets CPPFLAGS to a location that has libressl or openssl headers installed, they will be used instead of the bundled versions. This corrects that issue by setting up the variables correctly. https://github.com/libressl-portable/portable/issues/150 Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
Diffstat (limited to 'Makefile.am.common')
-rw-r--r--Makefile.am.common4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.am.common b/Makefile.am.common
index b00473d..49019ec 100644
--- a/Makefile.am.common
+++ b/Makefile.am.common
@@ -1,2 +1,2 @@
1AM_CFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/include/compat 1AM_CFLAGS =
2AM_CPPFLAGS = -DLIBRESSL_INTERNAL 2AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/include/compat -DLIBRESSL_INTERNAL