Skip to content

Commit

Permalink
Configurations/10-main.conf: move hpux-shared flags to hpux-common.
Browse files Browse the repository at this point in the history
Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from openssl/openssl#6477)
  • Loading branch information
Andy Polyakov committed Jun 14, 2018
1 parent 17e822e commit 0ef40b7
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 14 deletions.
21 changes: 12 additions & 9 deletions Configurations/10-main.conf
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,10 @@ my %targets = (
lib_cppflags => "-DB_ENDIAN",
thread_scheme => "pthreads",
dso_scheme => "dlfcn", # overridden in 32-bit PA-RISC builds
shared_target => "hpux-shared",
shared_target => "self",
bin_lflags => "-Wl,+s,+cdp,../:,+cdp,./:",
shared_ldflag => "-Wl,-B,symbolic,+vnocompatwarnings,-z,+s,+cdp,../:,+cdp,./:",
shared_sonameflag=> "-Wl,+h,",
},
"hpux-parisc-gcc" => {
inherit_from => [ "hpux-common" ],
Expand All @@ -476,7 +479,7 @@ my %targets = (
bn_ops => "BN_LLONG RC4_CHAR",
dso_scheme => "dl",
shared_cflag => "-fPIC",
shared_ldflag => "-shared",
shared_ldflag => add_before("-shared"),
shared_extension => ".sl.\$(SHLIB_VERSION_NUMBER)",
},
"hpux-parisc1_1-gcc" => {
Expand All @@ -492,7 +495,7 @@ my %targets = (
ex_libs => add("-ldl", threads("-pthread")),
bn_ops => "SIXTY_FOUR_BIT_LONG RC4_CHAR",
shared_cflag => "-fpic",
shared_ldflag => "-shared",
shared_ldflag => add_before("-shared"),
shared_extension => ".sl.\$(SHLIB_VERSION_NUMBER)",
multilib => "/pa20_64",
},
Expand All @@ -510,7 +513,7 @@ my %targets = (
bn_ops => "RC4_CHAR",
dso_scheme => "dl",
shared_cflag => "+Z",
shared_ldflag => "-b",
shared_ldflag => add_before("-b"),
shared_extension => ".sl.\$(SHLIB_VERSION_NUMBER)",
},
"hpux-parisc1_1-cc" => {
Expand All @@ -529,7 +532,7 @@ my %targets = (
ex_libs => add("-ldl", threads("-lpthread")),
bn_ops => "SIXTY_FOUR_BIT_LONG RC4_CHAR",
shared_cflag => "+Z",
shared_ldflag => "-b",
shared_ldflag => add_before("-b"),
shared_extension => ".sl.\$(SHLIB_VERSION_NUMBER)",
multilib => "/pa20_64",
},
Expand All @@ -545,7 +548,7 @@ my %targets = (
ex_libs => add("-ldl", threads("-lpthread")),
bn_ops => "SIXTY_FOUR_BIT",
shared_cflag => "+Z",
shared_ldflag => "-b",
shared_ldflag => add_before("-b"),
shared_extension => ".so.\$(SHLIB_VERSION_NUMBER)",
multilib => "/hpux32",
},
Expand All @@ -559,7 +562,7 @@ my %targets = (
ex_libs => add("-ldl", threads("-lpthread")),
bn_ops => "SIXTY_FOUR_BIT_LONG",
shared_cflag => "+Z",
shared_ldflag => "-b",
shared_ldflag => add_before("-b"),
shared_extension => ".so.\$(SHLIB_VERSION_NUMBER)",
multilib => "/hpux64",
},
Expand All @@ -573,7 +576,7 @@ my %targets = (
ex_libs => add("-ldl", threads("-pthread")),
bn_ops => "SIXTY_FOUR_BIT",
shared_cflag => "-fpic",
shared_ldflag => "-shared",
shared_ldflag => add_before("-shared"),
shared_extension => ".so.\$(SHLIB_VERSION_NUMBER)",
multilib => "/hpux32",
},
Expand All @@ -586,7 +589,7 @@ my %targets = (
ex_libs => add("-ldl", threads("-pthread")),
bn_ops => "SIXTY_FOUR_BIT_LONG",
shared_cflag => "-fpic",
shared_ldflag => "-shared",
shared_ldflag => add_before("-shared"),
shared_extension => ".so.\$(SHLIB_VERSION_NUMBER)",
multilib => "/hpux64",
},
Expand Down
5 changes: 0 additions & 5 deletions Configurations/shared-info.pl
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,4 @@ sub detect_gnu_cc {
shared_sonameflag => '-Wl,-soname=',
};
},
'hpux-shared' => {
bin_lflags => '-Wl,+s,+cdp,../:,+cdp,./:',
shared_ldflag => '-Wl,-B,symbolic,+vnocompatwarnings,-z,+s,+cdp,../:,+cdp,./:',
shared_sonameflag => '-Wl,+h,',
},
);

0 comments on commit 0ef40b7

Please sign in to comment.