Ed Maste 19587d7422 clang: Fix -gz=zlib options for linker
Clang commit ccb4124a4172bf2cb2e1cd7c253f0f1654fce294:

Fix -gz=zlib options for linker

gcc translates -gz=zlib to --compress-debug-options=zlib for both
assembler and linker but clang only does this for assembler.

The linker needs --compress-debug-options=zlib option to compress the
debug sections in the generated executable or shared library.

Due to this bug, -gz=zlib has no effect on the generated executable or
shared library.

This patch fixes that.

Clang commit 462cf39a5c180621b56f7602270ce33eb7b68d23:

[Driver] Fix -gz=zlib options for linker also on FreeBSD

ccb4124a4172 fixed translating -gz=zlib to --compress-debug-sections for
linker invocation for several ToolChains, but omitted FreeBSD.

Approved by:	dim
MFC after:	2 weeks
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D29028
2021-03-04 15:10:03 -05:00
..
2021-02-17 23:02:01 +01:00
2021-02-10 22:03:22 -08:00
2021-03-01 16:01:44 +01:00
2020-12-10 10:58:30 +00:00
2020-03-29 02:40:03 +00:00
2020-10-24 15:58:42 +00:00
2019-12-21 21:05:53 +00:00
2020-01-25 21:16:45 +00:00
2021-01-13 23:56:18 -06:00
2020-10-24 17:08:59 +00:00
2020-07-10 19:58:07 +00:00
2020-06-24 01:51:05 +00:00
2021-02-26 16:32:01 +01:00
2021-02-23 17:47:07 +00:00
2020-06-17 10:42:20 +00:00
2021-01-12 00:56:35 +02:00
2021-01-25 20:24:44 -08:00
2020-06-22 07:46:24 +00:00
2021-01-02 21:03:28 +02:00
2020-06-17 11:57:48 +00:00
2021-02-18 19:10:33 +01:00