aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt2
-rw-r--r--Makefile.am.common1
2 files changed, 3 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 93f3ff6..df300af 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -74,6 +74,8 @@ endif()
74 74
75add_definitions(-DLIBRESSL_INTERNAL) 75add_definitions(-DLIBRESSL_INTERNAL)
76add_definitions(-DOPENSSL_NO_HW_PADLOCK) 76add_definitions(-DOPENSSL_NO_HW_PADLOCK)
77add_definitions(-D__BEGIN_HIDDEN_DECLS=)
78add_definitions(-D__END_HIDDEN_DECLS=)
77 79
78set(CMAKE_POSITION_INDEPENDENT_CODE true) 80set(CMAKE_POSITION_INDEPENDENT_CODE true)
79 81
diff --git a/Makefile.am.common b/Makefile.am.common
index 49019ec..87aa807 100644
--- a/Makefile.am.common
+++ b/Makefile.am.common
@@ -1,2 +1,3 @@
1AM_CFLAGS = 1AM_CFLAGS =
2AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/include/compat -DLIBRESSL_INTERNAL 2AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/include/compat -DLIBRESSL_INTERNAL
3AM_CPPFLAGS += -D__BEGIN_HIDDEN_DECLS= -D__END_HIDDEN_DECLS=