Author: tpot Date: 2005-09-19 23:37:01 +0000 (Mon, 19 Sep 2005) New Revision: 10334
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=10334 Log: Use CPPDEFINES instead of CCFLAGS for adding preprocessor symbols. Modified: branches/SAMBA_4_0/source/SConstruct Changeset: Modified: branches/SAMBA_4_0/source/SConstruct =================================================================== --- branches/SAMBA_4_0/source/SConstruct 2005-09-19 23:11:09 UTC (rev 10333) +++ branches/SAMBA_4_0/source/SConstruct 2005-09-19 23:37:01 UTC (rev 10334) @@ -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 @@ 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 @@ Export('dynconfig') SConscript(dirs=['param','lib'],exports='hostenv') -
