emaste 3700443c9e revert r354935 and apply fix for cleandir failure
This reapplies the RISC-V GNU ld workaround from r354896, r354899, and
354900, along with a fix for the build failure during cleandir.

LINKER_TYPE was not being set during cleandir, resulting in
Malformed conditional (${LINKER_TYPE} == "bfd" && ${MACHINE} == "riscv")
from Cirrus-CI.

PR:		242109
Sponsored by:	The FreeBSD Foundation
2019-11-21 13:56:16 +00:00
..
2019-02-26 05:59:22 +00:00
2019-08-11 06:26:03 +00:00
2019-11-18 04:22:04 +00:00
2019-11-01 11:28:43 +00:00
2019-06-29 18:41:40 +00:00
2019-09-26 01:50:20 +00:00
2019-09-01 16:41:24 +00:00
2019-11-07 18:06:44 +00:00
2019-11-20 19:43:34 +00:00
2019-05-08 11:04:09 +00:00
2019-09-26 18:24:04 +00:00
2019-02-25 18:41:16 +00:00
2019-11-20 23:56:20 +00:00
2019-11-03 01:25:46 +00:00
2019-09-12 00:19:16 +00:00
2019-07-04 08:40:10 +00:00
2019-08-22 18:52:30 +00:00