Always link EFENCE in debug build

This commit is contained in:
Radim Kolar 2020-06-06 10:53:38 +02:00
parent f8bc2da042
commit 3a12b8f2db
2 changed files with 4 additions and 4 deletions

View File

@ -15,6 +15,7 @@ Version NEXT
correct check for native largefiles. Because we are using unsigned
long internaly as pointer to offset for portability, we have to
be sure that usingned long is 8 or more bytes long
Always try to link Efence in debug build
Version 2.8.1b29 - 24 Aug 2019
added scons command line argument without-fspscan=yes for building

View File

@ -8,7 +8,6 @@ EnsurePythonVersion(2,7)
# set defaults
PREFIX='/usr/local'
VERSION='2.8.1b30'
EFENCE=False
CLIENTS=True
env = Environment(CPPPATH='#/include', LIBPATH=['/usr/lib','/usr/local/lib'])
@ -158,9 +157,9 @@ DOCDIR=conf.checkForUserDocdir(DOCDIR)
EXAMPLESDIR=DOCDIR+'/examples'
EXAMPLESDIR=conf.checkForUserExamplesdir(EXAMPLESDIR)
dmode=conf.checkForDebugBuild()
EFENCE = conf.MAINTAINER_MODE(dmode)
if EFENCE == True:
EFENCE=conf.CheckLib("efence","EF_Abort")
if dmode:
conf.CheckLib("efence","EF_Abort")
conf.MAINTAINER_MODE(dmode)
conf.checkForLamerPack()
CLIENTS=conf.checkForBuildingClients()
SERVER=conf.checkForBuildingServer()