From 80191f2fd502ea5e41c856c4921a23fd119bad91 Mon Sep 17 00:00:00 2001 From: Joachim Wiberg Date: Sat, 22 Apr 2023 14:28:08 +0200 Subject: [PATCH] plugins: allow building with -D_FORTIFY_SOURCE[=1,2] Signed-off-by: Joachim Wiberg --- plugins/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/Makefile.am b/plugins/Makefile.am index 3c5bcda7..746707b9 100644 --- a/plugins/Makefile.am +++ b/plugins/Makefile.am @@ -1,7 +1,7 @@ pkglibdir = $(plugin_path) AM_LDFLAGS = -module -avoid-version -shared AM_CFLAGS = -W -Wall -Wextra -Wno-unused-parameter -std=gnu99 -AM_CPPFLAGS = -I$(top_srcdir)/src -U_FORTIFY_SOURCE +AM_CPPFLAGS = -I$(top_srcdir)/src AM_CPPFLAGS += -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_GNU_SOURCE -D_DEFAULT_SOURCE AM_CPPFLAGS += -D__FINIT__ $(lite_CFLAGS) $(uev_CFLAGS)