cflags.xml 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. <category name="MENUSELECT_CFLAGS" displayname="Compiler Flags" positive_output="yes" remove_on_change=".lastclean">
  2. <member name="DONT_OPTIMIZE" displayname="Disable Optimizations by the Compiler">
  3. <use autoselect="yes">COMPILE_DOUBLE</use>
  4. <support_level>core</support_level>
  5. </member>
  6. <member name="COMPILE_DOUBLE" displayname="Pre-compile with optimizations to detect errors, then discard and recompile with DONT_OPTIMIZE. Creates intermediate .i files">
  7. <depend>DONT_OPTIMIZE</depend>
  8. <support_level>core</support_level>
  9. </member>
  10. <member name="DEBUG_THREADS" displayname="Enable Thread Debugging">
  11. <support_level>core</support_level>
  12. </member>
  13. <member name="REF_DEBUG" displayname="Enable reference count debugging">
  14. <support_level>extended</support_level>
  15. </member>
  16. <member name="AO2_DEBUG" displayname="Enable internal Astobj2 debugging">
  17. <support_level>extended</support_level>
  18. </member>
  19. <member name="STATIC_BUILD" displayname="Build static binaries">
  20. <support_level>extended</support_level>
  21. </member>
  22. <member name="DEBUG_FD_LEAKS" displayname="Enable File Descriptor Leak Detection">
  23. <support_level>core</support_level>
  24. </member>
  25. <member name="REBUILD_PARSERS" displayname="Rebuild AEL and expression parsers from bison/flex source files">
  26. <depend>bison</depend>
  27. <depend>flex</depend>
  28. <defaultenabled>no</defaultenabled>
  29. <support_level>extended</support_level>
  30. </member>
  31. <member name="LOW_MEMORY" displayname="Optimize for Low Memory Usage">
  32. <support_level>extended</support_level>
  33. </member>
  34. <member name="DISABLE_INLINE" displayname="Disable the inline API">
  35. <!-- Added to work around GCC bug
  36. See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47816
  37. -->
  38. <support_level>extended</support_level>
  39. </member>
  40. <member name="OPTIONAL_API" displayname="Enable the optional API">
  41. <!-- Added to manually disable the optional API, since
  42. it's now supported on all systems.
  43. -->
  44. <defaultenabled>yes</defaultenabled>
  45. <support_level>extended</support_level>
  46. </member>
  47. <member name="BETTER_BACKTRACES" displayname="Use libbfd (GPL) to generate better inline backtraces">
  48. <depend>BFD</depend>
  49. <depend>DLADDR</depend>
  50. <defaultenabled>no</defaultenabled>
  51. <support_level>core</support_level>
  52. </member>
  53. <member name="USE_HOARD_ALLOCATOR" displayname="Use the Hoard Memory Allocator instead of the default system one">
  54. <defaultenabled>no</defaultenabled>
  55. <depend>hoard</depend>
  56. <support_level>extended</support_level>
  57. </member>
  58. <member name="LOTS_OF_SPANS" displayname="More than 32 DAHDI spans">
  59. <support_level>core</support_level>
  60. </member>
  61. <member name="RADIO_RELAX" displayname="Relax DTMF for Radio Applications">
  62. <support_level>extended</support_level>
  63. </member>
  64. <member name="G711_NEW_ALGORITHM" displayname="Use the NEW ulaw/alaw codecs (slower, but cleaner)">
  65. <defaultenabled>no</defaultenabled>
  66. <support_level>extended</support_level>
  67. </member>
  68. <member name="G711_REDUCED_BRANCHING" displayname="New ulaw/alaw codec, reduced branching (might help it run faster in some architectures)">
  69. <depend>G711_NEW_ALGORITHM</depend>
  70. <support_level>extended</support_level>
  71. </member>
  72. <member name="TEST_CODING_TABLES" displayname="New ulaw/alaw codec, turn on table tests on init">
  73. <depend>G711_NEW_ALGORITHM</depend>
  74. <support_level>extended</support_level>
  75. </member>
  76. <member name="TEST_TANDEM_TRANSCODING" displayname="New ulaw/alaw codec, turn on transcoding tests on init">
  77. <depend>G711_NEW_ALGORITHM</depend>
  78. <support_level>extended</support_level>
  79. </member>
  80. <member name="MALLOC_DEBUG" displayname="Keep Track of Memory Allocations">
  81. <support_level>core</support_level>
  82. </member>
  83. <member name="DEBUG_CHAOS" displayname="Randomly FAIL memory allocations or other operations">
  84. <support_level>core</support_level>
  85. </member>
  86. <member name="ADDRESS_SANITIZER" displayname="Address Sanitizer">
  87. <depend>HAVE_ADDRESS_SANITIZER</depend>
  88. <support_level>extended</support_level>
  89. <conflict>THREAD_SANITIZER</conflict>
  90. <conflict>LEAK_SANITIZER</conflict>
  91. <conflict>MALLOC_DEBUG</conflict>
  92. <conflict>DEBUG_CHAOS</conflict>
  93. </member>
  94. <member name="THREAD_SANITIZER" displayname="Thread Sanitizer">
  95. <depend>HAVE_THREAD_SANITIZER</depend>
  96. <support_level>extended</support_level>
  97. <conflict>ADDRESS_SANITIZER</conflict>
  98. <conflict>LEAK_SANITIZER</conflict>
  99. </member>
  100. <member name="LEAK_SANITIZER" displayname="Leak Sanitizer">
  101. <depend>HAVE_LEAK_SANITIZER</depend>
  102. <support_level>extended</support_level>
  103. <conflict>ADDRESS_SANITIZER</conflict>
  104. <conflict>THREAD_SANITIZER</conflict>
  105. <conflict>MALLOC_DEBUG</conflict>
  106. <conflict>DEBUG_CHAOS</conflict>
  107. </member>
  108. <member name="UNDEFINED_SANITIZER" displayname="Undefined Behavior Sanitizer">
  109. <depend>HAVE_UNDEFINED_SANITIZER</depend>
  110. <support_level>extended</support_level>
  111. </member>
  112. <member name="BUSYDETECT_TONEONLY" displayname="Enable additional comparision of only the tone duration not the silence part">
  113. <conflict>BUSYDETECT_COMPARE_TONE_AND_SILENCE</conflict>
  114. <defaultenabled>no</defaultenabled>
  115. <support_level>extended</support_level>
  116. </member>
  117. <member name="BUSYDETECT_COMPARE_TONE_AND_SILENCE" displayname="Assume that tone and silence have the same duration">
  118. <conflict>BUSYDETECT_TONEONLY</conflict>
  119. <defaultenabled>no</defaultenabled>
  120. <support_level>extended</support_level>
  121. </member>
  122. <member name="BUSYDETECT_DEBUG" displayname="Enable additional busy detection debugging">
  123. <defaultenabled>no</defaultenabled>
  124. <support_level>extended</support_level>
  125. </member>
  126. <member name="INTEGER_CALLERID" displayname="Use the (less accurate) integer-based method for decoding FSK tones (for embedded systems)">
  127. <support_level>extended</support_level>
  128. </member>
  129. <member name="BUILD_NATIVE" displayname="Allow compiler to generate code optimized for the CPU on which the build is performed.">
  130. <support_level>core</support_level>
  131. <defaultenabled>yes</defaultenabled>
  132. <depend>native_arch</depend>
  133. </member>
  134. </category>