mirror of https://github.com/openssl/openssl.git
Code health: Remove base address setting for mingw
Base address setting was done for the sake of FIPS. Since FIPS references have been removed, we clean away this one as well. Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/2791)
This commit is contained in:
parent
1bcbf658a6
commit
43f9e0a08c
|
@ -302,7 +302,6 @@ link_shlib.mingw:
|
||||||
SHLIB_SOVER=-$$sover$$arch; \
|
SHLIB_SOVER=-$$sover$$arch; \
|
||||||
SHLIB_SUFFIX=.dll; \
|
SHLIB_SUFFIX=.dll; \
|
||||||
dll_name=$$SHLIB$$SHLIB_SOVER$$SHLIB_SUFFIX; \
|
dll_name=$$SHLIB$$SHLIB_SOVER$$SHLIB_SUFFIX; \
|
||||||
base=; [ $(LIBNAME) = "crypto" -a -n "$(FIPSCANLIB)" ] && base=-Wl,--image-base,0x63000000; \
|
|
||||||
$(PERL) $(SRCDIR)/util/mkdef.pl 32 $(LIBNAME) \
|
$(PERL) $(SRCDIR)/util/mkdef.pl 32 $(LIBNAME) \
|
||||||
| sed -e 's|^\(LIBRARY *\)$(LIBNAME)32|\1'"$$dll_name"'|' \
|
| sed -e 's|^\(LIBRARY *\)$(LIBNAME)32|\1'"$$dll_name"'|' \
|
||||||
> $(LIBNAME).def; \
|
> $(LIBNAME).def; \
|
||||||
|
@ -312,7 +311,7 @@ link_shlib.mingw:
|
||||||
$(RC) $(SHARED_RCFLAGS) -o rc.o; \
|
$(RC) $(SHARED_RCFLAGS) -o rc.o; \
|
||||||
ALLSYMSFLAGS='-Wl,--whole-archive'; \
|
ALLSYMSFLAGS='-Wl,--whole-archive'; \
|
||||||
NOALLSYMSFLAGS='-Wl,--no-whole-archive'; \
|
NOALLSYMSFLAGS='-Wl,--no-whole-archive'; \
|
||||||
SHAREDFLAGS="$(CFLAGS) $(SHARED_LDFLAGS) -shared $$base -Wl,-Bsymbolic -Wl,--out-implib,lib$(LIBNAME).dll.a $(LIBNAME).def rc.o"; \
|
SHAREDFLAGS="$(CFLAGS) $(SHARED_LDFLAGS) -shared -Wl,-Bsymbolic -Wl,--out-implib,lib$(LIBNAME).dll.a $(LIBNAME).def rc.o"; \
|
||||||
$(LINK_SO_SHLIB) || exit 1; \
|
$(LINK_SO_SHLIB) || exit 1; \
|
||||||
rm $(LIBNAME).def rc.o
|
rm $(LIBNAME).def rc.o
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue