From 89f3a1f1096ff393bd4b4986ccae149f42496cb6 Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Thu, 3 May 2012 17:23:11 +0000 Subject: [PATCH] Makefile: enable fortify support --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 9460526..d2b2d97 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ SRCS = main.c parse.c pkg.c bsdstubs.c getopt_long.c include buildsys.mk -CFLAGS += -DPKG_DEFAULT_PATH=\"${libdir}/pkgconfig\" -Wall -Wextra -Wformat=2 -std=gnu99 +CFLAGS += -DPKG_DEFAULT_PATH=\"${libdir}/pkgconfig\" -Wall -Wextra -Wformat=2 -std=gnu99 -D_FORTIFY_SOURCE=2 install-extra: mkdir -p $(DESTDIR)/$(datarootdir)/aclocal