Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dedupe include dirs inherited from dependencies #3974

Merged
merged 1 commit into from
Oct 12, 2016

Commits on Oct 12, 2016

  1. Dedupe include dirs inherited from dependencies

    If you build a big number of packages, all with
    the same extra -I flags, the flags get inherited
    by the dependent packages and duplicated.
    For big dependency trees it can exceed the
    maximum command line length on some systems,
    this happened to me with Linux and hoogle 5.
    
    This patch decreases the redundancy by
    dropping all but the first occurrence of
    an include dir, preserving the semantics,
    as they are processed left to right.
    Bartosz Nitka committed Oct 12, 2016
    Configuration menu
    Copy the full SHA
    6e31b30 View commit details
    Browse the repository at this point in the history