Skip to content

hadrian: Ensure that way-flags are passed to CC

Ben Gamari requested to merge wip/T23554 into master

Previously the way-specific compilation flags (e.g. -DDEBUG, -DTHREADED_RTS) would not be passed to the CC invocations. This meant that C dependency files would not correctly reflect dependencies predicated on the way, resulting in the rather painful #23554 (closed).

Closes #23554 (closed).

Merge request reports