xref: /OK3568_Linux_fs/buildroot/package/duma/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1config BR2_PACKAGE_DUMA
2	bool "duma"
3	depends on BR2_INSTALL_LIBSTDCPP
4	depends on BR2_TOOLCHAIN_HAS_THREADS
5	# By design, duma uses page mapping to isolate
6	# allocations. Non-MMU platforms cannot perform such
7	# things.
8	depends on BR2_USE_MMU
9	# duma works using LD_PRELOAD, so it always needs to build a
10	# shared library
11	depends on !BR2_STATIC_LIBS
12	help
13	  D.U.M.A. - Detect Unintended Memory Access. A fork of the
14	  Electric Fence library. Detects buffer overflow and
15	  underflow, and also memory leaks.
16
17	  http://duma.sourceforge.net
18
19if BR2_PACKAGE_DUMA
20
21config BR2_PACKAGE_DUMA_NO_LEAKDETECTION
22	bool "disable memory leak detection"
23
24endif # BR2_PACKAGE_DUMA
25
26comment "duma needs a toolchain w/ C++, threads, dynamic library"
27	depends on BR2_USE_MMU
28	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \
29		BR2_STATIC_LIBS
30