98fdbce091
Configure had the Unix centric addition of -lz when linking with zlib is enabled, which doesn't work on other platforms. Therefore, we move it to the BASE_unix config template and add corresponding ones in the other BASE_* config templates. The Windows one is probably incomplete, but that doesn't matter for the moment, as mk1mf does it's own thing anyway. This required making the %withargs table global, so perl snippets in the configs can use it. Reviewed-by: Andy Polyakov <appro@openssl.org>
20 lines
778 B
Perl
20 lines
778 B
Perl
## -*- mode: perl; -*-
|
|
## Personal configuration targets
|
|
|
|
%targets = (
|
|
"debug-bodo" => {
|
|
inherit_from => [ "x86_64_asm" ],
|
|
cc => "gcc",
|
|
cflags => "$gcc_devteam_warn -Wno-error=overlength-strings -DBN_DEBUG -DBN_DEBUG_RAND -DCONF_DEBUG -m64 -DL_ENDIAN -DTERMIO -g -DMD32_REG_T=int",
|
|
thread_cflag => "-D_REENTRANT",
|
|
ex_libs => add(" ","-ldl"),
|
|
bn_ops => "SIXTY_FOUR_BIT_LONG",
|
|
perlasm_scheme => "elf",
|
|
dso_scheme => "dlfcn",
|
|
shared_target => "linux-shared",
|
|
shared_cflag => "-fPIC",
|
|
shared_ldflag => "-m64",
|
|
shared_extension => ".so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
|
|
multilib => "64",
|
|
},
|
|
);
|