summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-03-19 00:15:59 +0300
committerAndrei Karas <akaras@inbox.ru>2014-03-19 00:15:59 +0300
commit1d289beae487379d47e05209d1bb1b07649dac45 (patch)
tree3b1db0ed775624cae199680e8886f76cdf57fccd
parente7e3b9d83fe95542945cabbddbf802a5e119bb06 (diff)
downloadmv-1d289beae487379d47e05209d1bb1b07649dac45.tar.gz
mv-1d289beae487379d47e05209d1bb1b07649dac45.tar.bz2
mv-1d289beae487379d47e05209d1bb1b07649dac45.tar.xz
mv-1d289beae487379d47e05209d1bb1b07649dac45.zip
Fox compilation with fuzzer.
-rw-r--r--src/Makefile.am2
-rw-r--r--src/localconsts.h3
2 files changed, 4 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 8483fa994..0e3f97ebe 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -25,7 +25,7 @@ else
manaplus_SOURCES =
endif
-dyecmd_CXXFLAGS =
+dyecmd_CXXFLAGS = -DDYECMD
dyecmd_SOURCES = gui/cliprect.cpp \
gui/color.cpp \
gui/rect.cpp \
diff --git a/src/localconsts.h b/src/localconsts.h
index 92c36d92a..d71126c11 100644
--- a/src/localconsts.h
+++ b/src/localconsts.h
@@ -112,4 +112,7 @@
// use file access fuzzer
// #define USE_FUZZER 1
+#ifdef DYECMD
+#undef USE_FUZZER
+#endif
#include "utils/perfomance.h"