s4:heimdal_build: explicitly pass allow_warnings=True to CURRENT_CFLAGS()
authorStefan Metzmacher <metze@samba.org>
Wed, 26 Feb 2014 06:35:22 +0000 (07:35 +0100)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 2 Apr 2014 07:03:45 +0000 (09:03 +0200)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/heimdal_build/wscript_build

index ae7fbec3216889137c3f1da7604b488ae2d55fcd..abda84803d35d867022956260600e2c035f0c72d 100644 (file)
@@ -126,7 +126,7 @@ def HEIMDAL_ASN1(name, source,
     t = bld(features       = 'cc',
             source         = cfile,
             target         = name,
-            samba_cflags   = CURRENT_CFLAGS(bld, name, ''),
+            samba_cflags   = CURRENT_CFLAGS(bld, name, '', allow_warnings=True),
             depends_on     = '',
             samba_deps     = to_list('roken replace'),
             samba_includes = includes + ["/usr/include/heimdal"],
@@ -280,7 +280,7 @@ def HEIMDAL_SUBSYSTEM(modname, source,
         features       = 'cc',
         source         = source,
         target         = modname,
-        samba_cflags   = CURRENT_CFLAGS(bld, modname, cflags),
+        samba_cflags   = CURRENT_CFLAGS(bld, modname, cflags, allow_warnings=True),
         depends_on     = '',
         samba_deps     = to_list(deps),
         samba_includes = includes,