summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rw-r--r--build/SConstruct7
1 files changed, 6 insertions, 1 deletions
diff --git a/build/SConstruct b/build/SConstruct
index 28cb77762..3e71c1a74 100644
--- a/build/SConstruct
+++ b/build/SConstruct
@@ -108,9 +108,14 @@ configs_map = {
def NoFastAllocOpt(env):
env.Append(CPPDEFINES = 'NO_FAST_ALLOC')
+# Enable efence
+def EfenceOpt(env):
+ env.Append(LIBS=['efence'])
+
# Configuration options map.
options_map = {
- 'NO_FAST_ALLOC' : NoFastAllocOpt
+ 'NO_FAST_ALLOC' : NoFastAllocOpt,
+ 'EFENCE' : EfenceOpt
}
# The 'local_configs' file can be used to define additional base