about summary refs log tree commit diff
path: root/libdislocator/Makefile
diff options
context:
space:
mode:
authorhexcoder <hexcoder-@users.noreply.github.com>2019-11-07 19:50:02 +0100
committerGitHub <noreply@github.com>2019-11-07 19:50:02 +0100
commit8082dd43bc756e9461bd279c9b1b88f9aede9f8d (patch)
treedb3511aa700e1eaebd6941a0e7fd1528bdd86904 /libdislocator/Makefile
parent642a756b6644266236220b24e13c09298a43b37d (diff)
parent3ce808688f793a72bcd28b31d0766fc90304c622 (diff)
downloadafl++-8082dd43bc756e9461bd279c9b1b88f9aede9f8d.tar.gz
Merge pull request #103 from devnexen/libdislocator_sp
libdislocator, optional huge pages support.
Diffstat (limited to 'libdislocator/Makefile')
-rw-r--r--libdislocator/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/libdislocator/Makefile b/libdislocator/Makefile
index 05ba26b3..216d2862 100644
--- a/libdislocator/Makefile
+++ b/libdislocator/Makefile
@@ -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