This is an archive of the discontinued LLVM Phabricator instance.

Don't clobber CFLAGS_EXTRAS in tests.
ClosedPublic

Authored by flackr on Mar 23 2015, 11:27 AM.

Details

Summary

To run tests against a different target platform many extra compiler flags are needed to specify sysroot, include dirs, etc. The environment variable CFLAGS_EXTRAS seems suited for this purpose except that several Makefiles clobber the current flags. This change modifies all of these to add to CFLAGS_EXTRAS instead.

Diff Detail

Repository
rL LLVM

Event Timeline

flackr updated this revision to Diff 22494.Mar 23 2015, 11:27 AM
flackr retitled this revision from to Don't clobber CFLAGS_EXTRAS in tests..
flackr updated this object.
flackr edited the test plan for this revision. (Show Details)
flackr added a reviewer: clayborg.
flackr set the repository for this revision to rL LLVM.
flackr added a subscriber: Unknown Object (MLST).
clayborg accepted this revision.Mar 23 2015, 11:37 AM
clayborg edited edge metadata.

lgtm

This revision is now accepted and ready to land.Mar 23 2015, 11:37 AM
This revision was automatically updated to reflect the committed changes.