aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2023-02-17 11:36:14 +0000
committerfanquake <fanquake@gmail.com>2023-02-20 16:36:36 +0000
commitff4a73aea2b8346f48f75e1130a36749f70e9049 (patch)
tree98176ecc418e68ea881070f3e533578a8a5fd31d
parent0561f344e0ecce2a9a1492c188c5813e075c67c0 (diff)
depends: use FORTIFY_SOURCE=3 with libevent
-rw-r--r--depends/packages/libevent.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/depends/packages/libevent.mk b/depends/packages/libevent.mk
index 5bd12522a7..8374f2a103 100644
--- a/depends/packages/libevent.mk
+++ b/depends/packages/libevent.mk
@@ -16,6 +16,7 @@ define $(package)_set_vars
$(package)_config_opts_netbsd=--with-pic
$(package)_config_opts_openbsd=--with-pic
$(package)_config_opts_android=--with-pic
+ $(package)_cppflags+=-D_FORTIFY_SOURCE=3
$(package)_cppflags_mingw32=-D_WIN32_WINNT=0x0601
endef