Building: Build Unix static libraries one object file at a time
authorRichard Levitte <levitte@openssl.org>
Sun, 23 Aug 2020 16:33:57 +0000 (18:33 +0200)
committerRichard Levitte <levitte@openssl.org>
Mon, 7 Sep 2020 07:23:49 +0000 (09:23 +0200)
commit385deae79f26dd685339d3141a06d04d6bd753cd
tree8d0e9546f02fa2dc0c036acd5716e372c458c41c
parent6353507e9d4afe666ade7b8fdf0f0e673f57b36c
Building: Build Unix static libraries one object file at a time

We're hitting problems that the 'ar' command line becomes too long for
some 'make' versions, or the shell it uses.

We therefore change the way we create a static library by doing so one
object file at a time.  This is slower, but has better guarantees to
work properly on limited systems.

Fixes #12116

Reviewed-by: David von Oheimb <david.von.oheimb@siemens.com>
(Merged from https://github.com/openssl/openssl/pull/12706)
Configurations/00-base-templates.conf
Configurations/unix-Makefile.tmpl