summaryrefslogtreecommitdiff
path: root/source3/wscript
diff options
context:
space:
mode:
Diffstat (limited to 'source3/wscript')
-rw-r--r--source3/wscript6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/wscript b/source3/wscript
index 86af6b38c1..508f270039 100644
--- a/source3/wscript
+++ b/source3/wscript
@@ -1292,9 +1292,9 @@ main() {
msg='Checking for ftruncate extend',
addmain=False,
execute=True)
-
- if os.environ.get('RUN_FROM_BUILD_FARM') is not None:
- conf.define('ENABLE_BUILD_FARM_HACKS', '1')
+ if os.getenv('RUN_FROM_BUILD_FARM'):
+ Logs.info("enabling buildfarm hacks")
+ conf.DEFINE('ENABLE_BUILD_FARM_HACKS', '1')
if Options.options.with_sendfile_support:
if (host_os.rfind('linux') > -1) or (host_os.rfind('gnu') > -1) or (host_os.rfind('k*bsd*-gnu') > -1) or (host_os.rfind('kopensolaris*-gnu') > -1):