diff options
author | Tim Potter <tpot@samba.org> | 2005-09-19 23:37:01 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:38:28 -0500 |
commit | 3556e1d13e8e7dc2354bd8701e8eb2b58c732456 (patch) | |
tree | db0a821c177daff963d8dbb13c431969dd383019 /source4/SConstruct | |
parent | b1c3c66ead969ae3ab1af7cd743e893134924fec (diff) | |
download | samba-3556e1d13e8e7dc2354bd8701e8eb2b58c732456.tar.gz samba-3556e1d13e8e7dc2354bd8701e8eb2b58c732456.tar.bz2 samba-3556e1d13e8e7dc2354bd8701e8eb2b58c732456.zip |
r10334: Use CPPDEFINES instead of CCFLAGS for adding preprocessor symbols.
(This used to be commit ba305886fd404161f4d081d2ffe60c824e932641)
Diffstat (limited to 'source4/SConstruct')
-rw-r--r-- | source4/SConstruct | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/source4/SConstruct b/source4/SConstruct index 43ca7517fc..458969acaa 100644 --- a/source4/SConstruct +++ b/source4/SConstruct @@ -1,5 +1,4 @@ #!/usr/bin/env python -# tastes like -*- python -*- # This is the experimental scons build script for Samba 4. For a proper # build use the old build system (configure + make). scons may @@ -12,8 +11,9 @@ hostenv = Environment( toolpath=['build/scons','.'], tools=['default'], CPPPATH=['#include','#','#lib'], - CCFLAGS='-D_SAMBA_BUILD_' + CPPDEFINES={'_SAMBA_BUILD_': None}, ) + hostenv.Append(CPPPATH = ['#heimdal_build', '#heimdal/lib/krb5', '#heimdal/lib/hdb', '#heimdal/lib/gssapi', '#heimdal/lib/asn1', '#heimdal/lib/des', @@ -48,4 +48,3 @@ dynconfig = dynenv.Object('dynconfig.c') Export('dynconfig') SConscript(dirs=['param','lib'],exports='hostenv') - |