From 99caee5eef6e054ad6c94a00e3de869f764954f7 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Tue, 17 Apr 2012 11:25:40 +1000 Subject: build: Remove more of the s3 special cases in waf: only pidfile.c needs -DCONFIGFILE --- buildtools/wafsamba/samba3.py | 6 ------ 1 file changed, 6 deletions(-) (limited to 'buildtools/wafsamba') diff --git a/buildtools/wafsamba/samba3.py b/buildtools/wafsamba/samba3.py index fef81523c4..369285c395 100644 --- a/buildtools/wafsamba/samba3.py +++ b/buildtools/wafsamba/samba3.py @@ -100,12 +100,6 @@ def s3_fix_kwargs(bld, kwargs): includes += TO_LIST(kwargs['includes']) kwargs['includes'] = includes - # some S3 code assumes that CONFIGFILE is set - cflags = ['-DCONFIGFILE="%s"' % bld.env['CONFIGFILE']] - if 'cflags' in kwargs: - cflags += TO_LIST(kwargs['cflags']) - kwargs['cflags'] = cflags - # these wrappers allow for mixing of S3 and S4 build rules in the one build def SAMBA3_LIBRARY(bld, name, *args, **kwargs): -- cgit