Commit 415351a9 authored by bherzog's avatar bherzog Committed by Ben Gamari

Put Opt_Static into defaultFlags if not pc_DYNAMIC_BY_DEFAULT (#7478)

The test for Trac issue #7478 fails on some systems due to
inconsistent default flags for dynamic vs. static linking.

Test Plan: validate

Reviewers: austin, thomie

Reviewed By: thomie

Subscribers: thomie, bgamari

Differential Revision:

GHC Trac Issues: #7478
parent ae96c751
......@@ -3208,7 +3208,8 @@ defaultFlags settings
++ (if pc_DYNAMIC_BY_DEFAULT (sPlatformConstants settings)
then wayGeneralFlags platform WayDyn
else [])
else [Opt_Static])
-- Opt_Static needs to be set if and only if WayDyn is not used (#7478)
where platform = sTargetPlatform settings
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment