Blame SOURCES/libhugetlbfs-2.15-fortify.patch

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