summaryrefslogtreecommitdiff
path: root/Makerules
diff options
context:
space:
mode:
Diffstat (limited to 'Makerules')
-rw-r--r--Makerules3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makerules b/Makerules
index f9f2b06f..c73d8242 100644
--- a/Makerules
+++ b/Makerules
@@ -32,6 +32,9 @@ ifeq "$(HAVE_LIBDL)" "yes"
CFLAGS += -DHAVE_LIBDL
LIBS += -ldl
endif
+else ifeq "$(build)" "gperf"
+CFLAGS += -pipe -O2 -DNDEBUG -fomit-frame-pointer -DGPERF
+LIBS += -lprofiler
else
$(error unknown build setting: '$(build)')
endif