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 correct check for native largefiles. Because we are using unsigned
long internaly as pointer to offset for portability, we have to long internaly as pointer to offset for portability, we have to
be sure that usingned long is 8 or more bytes long 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 Version 2.8.1b29 - 24 Aug 2019
added scons command line argument without-fspscan=yes for building added scons command line argument without-fspscan=yes for building

View File

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