diff options
author | Richard Levitte <levitte@openssl.org> | 2016-02-25 00:17:59 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2016-02-26 09:00:25 +0100 |
commit | bdcd83e1272c84f3de576f793ba03fdc2c21a557 (patch) | |
tree | ce1ce0e41c8e414192c5c8366fc14f8e59bb4a36 /Configurations/99-personal-levitte.conf | |
parent | 9666ffb33321ea9a5ef166d3a297bb46e40e587e (diff) |
Configure - neater looking add() and add_before()
They now default to " " as separator, but that can be overridden by
having a hash with parameters as last argument. The only currently
recognised parameter is `separator'.
The special separator `undef' will force the result to become a list
rather than a concatenated string.
Reviewed-by: Andy Polyakov <appro@openssl.org>
Diffstat (limited to 'Configurations/99-personal-levitte.conf')
-rw-r--r-- | Configurations/99-personal-levitte.conf | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Configurations/99-personal-levitte.conf b/Configurations/99-personal-levitte.conf index a1b92d0729..d13f167234 100644 --- a/Configurations/99-personal-levitte.conf +++ b/Configurations/99-personal-levitte.conf @@ -8,15 +8,15 @@ %targets = ( "levitte-linux-elf" => { inherit_from => [ "linux-elf" ], - debug_cflags => add(" ", "-ggdb -g3"), - debug_defines => add(undef, "LEVITTE_DEBUG"), + debug_cflags => add("-ggdb -g3"), + debug_defines => add("LEVITTE_DEBUG", { separator => undef }), build_scheme => [ "unified", "unix" ], build_file => "Makefile", }, "levitte-linux-x86_64" => { inherit_from => [ "linux-x86_64" ], - debug_cflags => add(" ", "-ggdb -g3"), - debug_defines => add(undef, "LEVITTE_DEBUG"), + debug_cflags => add("-ggdb -g3"), + debug_defines => add("LEVITTE_DEBUG", { separator => undef }), build_scheme => [ "unified", "unix" ], build_file => "Makefile", }, |