From f6457b3d5408d5afe9a4de96d7623f1aa9ec39c4 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Mon, 6 Mar 2006 15:34:29 +0000 Subject: r13867: Wrap the cflags.sh hack in the build system. You can now simply set subsystem-specific compiler flags in the .mk files. (This used to be commit d512b147e8dda39016faf74a50a9d85bfc23a2eb) --- source4/build/smb_build/config_mk.pm | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'source4/build/smb_build/config_mk.pm') diff --git a/source4/build/smb_build/config_mk.pm b/source4/build/smb_build/config_mk.pm index c7ff8648eb..56960f044c 100644 --- a/source4/build/smb_build/config_mk.pm +++ b/source4/build/smb_build/config_mk.pm @@ -33,6 +33,8 @@ my $section_types = { "PRIVATE_PROTO_HEADER" => "string", "PUBLIC_HEADERS" => "list", + + "EXTRA_CFLAGS" => "string", }, "MODULE" => { "SUBSYSTEM" => "string", @@ -48,7 +50,9 @@ my $section_types = { "OUTPUT_TYPE" => "string", "MANPAGE" => "string", - "PRIVATE_PROTO_HEADER" => "string" + "PRIVATE_PROTO_HEADER" => "string", + + "EXTRA_CFLAGS" => "string" }, "BINARY" => { "OBJ_FILES" => "list", @@ -61,7 +65,9 @@ my $section_types = { "MANPAGE" => "string", "INSTALLDIR" => "string", "PRIVATE_PROTO_HEADER" => "string", - "PUBLIC_HEADERS" => "string" + "PUBLIC_HEADERS" => "string", + + "EXTRA_CFLAGS" => "string" }, "LIBRARY" => { "MAJOR_VERSION" => "string", @@ -84,7 +90,9 @@ my $section_types = { "PUBLIC_HEADERS" => "list", "PUBLIC_PROTO_HEADER" => "string", - "PRIVATE_PROTO_HEADER" => "string" + "PRIVATE_PROTO_HEADER" => "string", + + "EXTRA_CFLAGS" => "string" } }; -- cgit