Bug 22642 – test runner is determined to add -fPIC and -fPIE switches blocking Windows cross compiles

Status
RESOLVED
Resolution
FIXED
Severity
blocker
Priority
P1
Component
tools
Product
D
Version
D2
Platform
All
OS
Linux
Creation time
2022-01-01T20:25:30Z
Last change time
2022-03-24T13:54:57Z
Assigned to
No Owner
Creator
Walter Bright

Comments

Comment #0 by bugzilla — 2022-01-01T20:25:30Z
This prevents doing any testing of the -target=<triple> switch with windows as the target OS.
Comment #1 by moonlightsentinel — 2022-03-24T13:54:57Z
d_do_test no longer adds fPIC if either `-target` or '-os` is present.