Blame SOURCES/libhugetlbfs-2.15-fortify.patch

abde39
diff -up libhugetlbfs-2.15/Makefile.fortify libhugetlbfs-2.15/Makefile
abde39
--- libhugetlbfs-2.15/Makefile.fortify	2012-12-12 11:33:54.725402249 +0100
abde39
+++ libhugetlbfs-2.15/Makefile	2012-12-12 11:34:24.130531531 +0100
abde39
@@ -30,7 +30,7 @@ INSTALL = install
abde39
 LDFLAGS += -Wl,-z,noexecstack -ldl
abde39
 CFLAGS ?= -O2 -g
abde39
 CFLAGS += -Wall -fPIC
abde39
-CPPFLAGS += -D__LIBHUGETLBFS__
abde39
+CPPFLAGS += -D__LIBHUGETLBFS__ -DFORTIFY_SOURCE
abde39
 
abde39
 ARCH = $(shell uname -m | sed -e s/i.86/i386/)
abde39