summaryrefslogtreecommitdiff
path: root/source4/build/smb_build
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-04-24 16:16:43 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:04:19 -0500
commit62bdececc6de25d1dfdc5c27b5600180d2c8f446 (patch)
tree4209dea40eb7d4b3dc93e52fb56c5efd258e781b /source4/build/smb_build
parent763c0a8983cc39435489cca45389e33278e95e5b (diff)
downloadsamba-62bdececc6de25d1dfdc5c27b5600180d2c8f446.tar.gz
samba-62bdececc6de25d1dfdc5c27b5600180d2c8f446.tar.bz2
samba-62bdececc6de25d1dfdc5c27b5600180d2c8f446.zip
r15214: Introduce subsystem-specific CFLAGS to keep the global CFLAGS short.
(This used to be commit a495bc60ab1b233fe507b2b1aa0ad7378cf52677)
Diffstat (limited to 'source4/build/smb_build')
-rw-r--r--source4/build/smb_build/output.pm5
1 files changed, 5 insertions, 0 deletions
diff --git a/source4/build/smb_build/output.pm b/source4/build/smb_build/output.pm
index 5593558c0c..848286946b 100644
--- a/source4/build/smb_build/output.pm
+++ b/source4/build/smb_build/output.pm
@@ -169,6 +169,11 @@ sub create_output($$)
}
}
+ foreach $part (values %{$depend}) {
+ $part->{EXTRA_CFLAGS} .= " ".join(" ", @{$part->{CFLAGS}}) if defined($part->{CFLAGS});
+ $part->{EXTRA_CFLAGS} .= " ".join(" ", @{$part->{CPPFLAGS}}) if defined($part->{CPPFLAGS});
+ }
+
return $depend;
}