]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
heimdal build: pass c flags in HEIMDAL_BINARY
authorGary Lockyer <gary@catalyst.net.nz>
Tue, 20 May 2025 21:13:48 +0000 (09:13 +1200)
committerDouglas Bagnall <dbagnall@samba.org>
Wed, 28 May 2025 23:04:38 +0000 (23:04 +0000)
HEIMDAL_CFLAGS clears the cflags variable,
so we need to pass cflags_end to HEIMDAL_SUBSYSTEM to ensure the
subsystem files get built with the intended flags

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Anoop C S <anoopcs@samba.org>
third_party/heimdal_build/wscript_build

index 59fb2758f91a362ebdbc12117d0743439fa50a83..a429804ed01b24b54215334370c0aef2a89d5c93 100644 (file)
@@ -277,7 +277,7 @@ def HEIMDAL_BINARY(binname, source,
                       source         = source,
                       deps           = deps,
                       includes       = includes,
-                      cflags         = cflags,
+                      cflags         = cflags_end,
                       group          = group,
                       use_hostcc     = use_hostcc,
                       use_global_deps= use_global_deps)