aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsinetek <pitwuu@gmail.com>2015-04-25 22:01:59 +0700
committersinetek <pitwuu@gmail.com>2015-04-25 22:07:32 +0700
commitff7fe8b19e76c69471a2c56f829ebcbcdc54223e (patch)
tree831ab2561b1a5257d2b4e519a391dc98851222d2
parentbc8535b7175ea4b1bff49fe6bef32017cf5f472a (diff)
Fix for correctly including climits on certain platforms {DragonFlyBSD}.
-rw-r--r--src/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 37184b6286..aed47db4d0 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -14,7 +14,7 @@ $(LIBLEVELDB): $(LIBMEMENV)
$(LIBLEVELDB) $(LIBMEMENV):
@echo "Building LevelDB ..." && $(MAKE) -C $(@D) $(@F) CXX="$(CXX)" \
CC="$(CC)" PLATFORM=$(TARGET_OS) AR="$(AR)" $(LEVELDB_TARGET_FLAGS) \
- OPT="$(CXXFLAGS) $(CPPFLAGS)"
+ OPT="$(CXXFLAGS) $(CPPFLAGS) -D__STDC_LIMIT_MACROS"
endif
BITCOIN_CONFIG_INCLUDES=-I$(builddir)/config