build: old versions of perl don't understand the -W option
authorAndrew Tridgell <tridge@samba.org>
Thu, 25 Mar 2010 03:20:03 +0000 (14:20 +1100)
committerAndrew Tridgell <tridge@samba.org>
Tue, 6 Apr 2010 10:27:06 +0000 (20:27 +1000)
buildtools/wafsamba/samba_autoproto.py

index 7e003cbf3f20cfb302609f190bc6f867accf024e..78048680c783f55412607dd72131084570c6f559 100644 (file)
@@ -8,7 +8,7 @@ def HEIMDAL_AUTOPROTO(bld, header, source, options=None, group='prototypes'):
     bld.SET_BUILD_GROUP(group)
     if options is None:
         options='-q -P comment -o'
-    t = bld(rule='${PERL} -W ../heimdal/cf/make-proto.pl ${OPTIONS} ${TGT[0].abspath(env)} ${SRC}',
+    t = bld(rule='${PERL} ../heimdal/cf/make-proto.pl ${OPTIONS} ${TGT[0].abspath(env)} ${SRC}',
             source=source,
             target=header,
             on_results=True,