aboutsummaryrefslogtreecommitdiff
path: root/Configurations/00-base-templates.conf
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2016-02-25 00:17:59 +0100
committerRichard Levitte <levitte@openssl.org>2016-02-26 09:00:25 +0100
commitbdcd83e1272c84f3de576f793ba03fdc2c21a557 (patch)
treece1ce0e41c8e414192c5c8366fc14f8e59bb4a36 /Configurations/00-base-templates.conf
parent9666ffb33321ea9a5ef166d3a297bb46e40e587e (diff)
downloadopenssl-bdcd83e1272c84f3de576f793ba03fdc2c21a557.zip
openssl-bdcd83e1272c84f3de576f793ba03fdc2c21a557.tar.gz
openssl-bdcd83e1272c84f3de576f793ba03fdc2c21a557.tar.bz2
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/00-base-templates.conf')
-rw-r--r--Configurations/00-base-templates.conf14
1 files changed, 7 insertions, 7 deletions
diff --git a/Configurations/00-base-templates.conf b/Configurations/00-base-templates.conf
index 791634f..7a20867 100644
--- a/Configurations/00-base-templates.conf
+++ b/Configurations/00-base-templates.conf
@@ -44,24 +44,24 @@
uplink_common => {
template => 1,
- apps_aux_src => add(" ","../ms/applink.c"),
- cpuid_asm_src => add(" ","../ms/uplink.c"),
- shared_defines => add(undef, "OPENSSL_USE_APPLINK"),
+ apps_aux_src => add("../ms/applink.c"),
+ cpuid_asm_src => add("../ms/uplink.c"),
+ shared_defines => add("OPENSSL_USE_APPLINK", { separator => undef }),
},
x86_uplink => {
inherit_from => [ "uplink_common" ],
template => 1,
- cpuid_asm_src => add(" ","uplink-x86.s"),
+ cpuid_asm_src => add("uplink-x86.s"),
},
x86_64_uplink => {
inherit_from => [ "uplink_common" ],
template => 1,
- cpuid_asm_src => add(" ","uplink-x86_64.s"),
+ cpuid_asm_src => add("uplink-x86_64.s"),
},
ia64_uplink => {
inherit_from => [ "uplink_common" ],
template => 1,
- cpuid_asm_src => add(" ","uplink-ia64.s"),
+ cpuid_asm_src => add("uplink-ia64.s"),
},
x86_asm => {
@@ -155,7 +155,7 @@
mips64_asm => {
inherit_from => [ "mips32_asm" ],
template => 1,
- sha1_asm_src => add(" ", "sha512-mips.S")
+ sha1_asm_src => add("sha512-mips.S")
},
s390x_asm => {
template => 1,