This is an archive of the discontinued LLVM Phabricator instance.

C_INCLUDE_DIRS, when adding a relative path, fixes joining sysroot to the relative path.
Needs ReviewPublic

Authored by lancethepants on Nov 10 2020, 11:38 AM.
This revision needs review, but there are no reviewers specified.

Details

Reviewers
None
Summary

Fixes an issue where adding a relative path to the C include Directories via the C_INCLUDE_DIRS compile time option, there is a "/" ommitted to join the sysroot and the supplied relative path. Sysroot is not expected to have a trailing "/", and...

Diff Detail

Event Timeline

lancethepants created this revision.Nov 10 2020, 11:38 AM
lancethepants requested review of this revision.Nov 10 2020, 11:38 AM
lancethepants retitled this revision from Fixes an issue where adding a relative path to the C include Directories via the C_INCLUDE_DIRS compile time option, there is a "/" ommitted to join the sysroot and the supplied relative path. Sysroot is not expected to have a trailing "/", and... to C_INCLUDE_DIRS, when adding a relative path, fixes joining sysroot to the relative path..Nov 10 2020, 11:52 AM
lancethepants edited the summary of this revision. (Show Details)