about summary refs log tree commit diff
path: root/libdislocator/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libdislocator/Makefile')
-rw-r--r--libdislocator/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/libdislocator/Makefile b/libdislocator/Makefile
index cbaa05ea..216d2862 100644
--- a/libdislocator/Makefile
+++ b/libdislocator/Makefile
@@ -2,7 +2,7 @@
 # american fuzzy lop - libdislocator
 # ----------------------------------
 #
-# Written by Michal Zalewski <lcamtuf@google.com>
+# Written by Michal Zalewski
 #
 # Copyright 2016 Google Inc. All rights reserved.
 #
@@ -21,6 +21,10 @@ VERSION     = $(shell grep '^\#define VERSION ' ../config.h | cut -d '"' -f2)
 CFLAGS      ?= -O3 -funroll-loops -I ../include/
 CFLAGS      += -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign
 
+ifdef USEHUGEPAGE
+	CFLAGS += -DUSEHUGEPAGE
+endif
+
 all: libdislocator.so
 
 libdislocator.so: libdislocator.so.c ../config.h
@@ -34,5 +38,5 @@ clean:
 
 install: all
 	install -m 755 ../libdislocator.so $${DESTDIR}$(HELPER_PATH)
-	install -m 644 README.dislocator $${DESTDIR}$(HELPER_PATH)
+	install -m 644 README.dislocator.md $${DESTDIR}$(HELPER_PATH)