Commit 4f65e552 authored by Bertram Felgenhauer's avatar Bertram Felgenhauer

Fix parsing of -ignore-package flag.

parent 0c12697e
......@@ -1751,8 +1751,9 @@ parseDynamicFlags_ dflags args pkg_flags = do
f (x : xs) = x : f xs
f xs = xs
args' = f args
flag_spec | pkg_flags = dynamic_flags ++ package_flags
-- Note: -ignore-package (package_flags) must precede -i* (dynamic_flags)
flag_spec | pkg_flags = package_flags ++ dynamic_flags
| otherwise = dynamic_flags
let ((leftover, errs, warns), dflags')
......
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