diff options
author | Andy Polyakov <appro@openssl.org> | 2015-03-18 16:56:38 +0100 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2015-03-28 15:36:40 +0100 |
commit | 1818572d8395743704d917d91c3b909dd0a973d6 (patch) | |
tree | c4bc76cc16f0cd2b843e067cb52670a8dd3682b0 /Configurations | |
parent | 23dc1706e8727642ee7bc3dc985a3068a524e3bd (diff) | |
download | openssl-1818572d8395743704d917d91c3b909dd0a973d6.tar.gz |
Configure: remove unused variables.
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'Configurations')
-rw-r--r-- | Configurations/10-main.conf | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/Configurations/10-main.conf b/Configurations/10-main.conf index 9d38554477..7cd109c790 100644 --- a/Configurations/10-main.conf +++ b/Configurations/10-main.conf @@ -760,13 +760,20 @@ perlasm_scheme => "o32", }, -#### *BSD [do see comment about ${BSDthreads} in Configure!] +#### *BSD "BSD-generic32" => { + # As for thread_cflag. Idea is to maintain "collective" set of + # flags, which would cover all BSD flavors. -pthread applies + # to them all, but is treated differently. OpenBSD expands is + # as -D_POSIX_THREAD -lc_r, which is sufficient. FreeBSD 4.x + # expands it as -lc_r, which has to be accompanied by explicit + # -D_THREAD_SAFE and sometimes -D_REENTRANT. FreeBSD 5.x + # expands it as -lc_r, which seems to be sufficient? cc => "gcc", cflags => "-Wall", debug_cflags => "-O0 -g", release_cflags => "-O3", - thread_cflag => "${BSDthreads}", + thread_cflag => "-pthread -D_THREAD_SAFE -D_REENTRANT", bn_ops => "BN_LLONG RC2_CHAR RC4_INDEX DES_INT DES_UNROLL", dso_scheme => "dlfcn", shared_target => "bsd-gcc-shared", |