1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-01 04:58:35 +03:00

r10420: Two minor scons fixes

(This used to be commit 749b19d34f6105c696a07cc2cd39d5acecfc735b)
This commit is contained in:
Jelmer Vernooij 2005-09-22 12:23:44 +00:00 committed by Gerald (Jerry) Carter
parent 2ce3b5a003
commit 05bd880626
2 changed files with 4 additions and 4 deletions

View File

@ -42,9 +42,6 @@ if hostenv['developer']:
hostenv.Append(CCFLAGS='-Wno-format-y2k')
hostenv.Append(CCFLAGS='-Wno-declaration-after-statement')
# Pull in GNU extensions
hostenv.Append(CPPDEFINES = {'_GNU_SOURCE': 1})
# Some tools get confused if $HOME isn't defined
hostenv.Append(ENV={'HOME': os.environ['HOME']})
@ -138,6 +135,9 @@ if hostenv['configure']:
if conf.CheckFunc(f):
defines['HAVE_' + f.upper()] = 1
# Pull in GNU extensions
defines['_GNU_SOURCE'] = 1
needed_types = {
'uint_t': 'unsigned int',
'int8_t': 'signed char',

View File

@ -12,4 +12,4 @@ tdb = tdbenv.StaticLibrary('tdb', tdb_source)
tdbtool = tdbenv.Program('bin/tdbtool', ['tools/tdbtool.c',tdb])
tdbtorture = tdbenv.Program('bin/tdbtorture', ['tools/tdbtorture.c',tdb])
tdbdump = tdbenv.Program('bin/tdbdump', ['tools/tdbdump.c',tdb])
tdbbackup = tdbenv.Program('bin/tdbbackup', ['tools/tdbbackup.c',tdb])
#tdbbackup = tdbenv.Program('bin/tdbbackup', ['tools/tdbbackup.c',tdb])