Removing flags that appear multiple times makes sense. However, this currently prevents e.g. link = ["-framework", "Cocoa", "-framework", "IOKit"], because the second appearance of -framework is eliminated.
We should be able to parse flags in the form of link = ["-framework Cocoa", "-framework IOKit"], which currently giver errors such as error: unknown argument: '-framework Cocoa'. IMO this is a bug in clang-build.
Removing flags that appear multiple times makes sense. However, this currently prevents e.g.
link = ["-framework", "Cocoa", "-framework", "IOKit"]
, because the second appearance of-framework
is eliminated.We should be able to parse flags in the form of
link = ["-framework Cocoa", "-framework IOKit"]
, which currently giver errors such aserror: unknown argument: '-framework Cocoa'
. IMO this is a bug in clang-build.