Blame SOURCES/libhugetlbfs-2.15-fortify.patch

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