summaryrefslogtreecommitdiff
path: root/debian/patches/harden.diff
diff options
context:
space:
mode:
authorGravatar Benjamin Barenblat <bbaren@mit.edu>2016-10-23 14:32:06 -0400
committerGravatar Benjamin Barenblat <bbaren@mit.edu>2016-10-23 14:32:17 -0400
commit86daabe3a442bff3f93545a5b0e716a1737eb2d6 (patch)
treeee67a4a7610367f452bb10cc68dde8eb5c094b6e /debian/patches/harden.diff
parent098bedb77e6b96ffe1e248e84c615f5b0c13690c (diff)
Refresh patches
Diffstat (limited to 'debian/patches/harden.diff')
-rw-r--r--debian/patches/harden.diff4
1 files changed, 2 insertions, 2 deletions
diff --git a/debian/patches/harden.diff b/debian/patches/harden.diff
index 13c6068b..b0a368a5 100644
--- a/debian/patches/harden.diff
+++ b/debian/patches/harden.diff
@@ -16,6 +16,6 @@ OS X [1] and the latter to improve performance [2].
AM_CPPFLAGS = -I$(srcdir)/../../include/urweb $(OPENSSL_INCLUDES)
-AM_CFLAGS = -Wimplicit -Wall -Werror -Wno-format-security -Wno-deprecated-declarations -U_FORTIFY_SOURCE $(PTHREAD_CFLAGS)
+AM_CFLAGS = -Wimplicit -Wall -Werror -Wno-deprecated-declarations $(PTHREAD_CFLAGS)
- liburweb_la_LDFLAGS = $(AM_LDFLAGS) $(OPENSSL_LDFLAGS)
+ liburweb_la_LDFLAGS = $(AM_LDFLAGS) $(OPENSSL_LDFLAGS) \
+ -export-symbols-regex '^(client_pruner|pthread_create_big|strcmp_nullsafe|uw_.*)'
liburweb_la_LIBADD = $(PTHREAD_LIBS) -lm $(OPENSSL_LIBS)
- liburweb_http_la_LIBADD = liburweb.la