This is an archive of the discontinued LLVM Phabricator instance.

[test-suite] Add -pthread to Misc-C++-EH LDFLAGS
ClosedPublic

Authored by mcrosier on Jan 15 2016, 1:23 PM.

Details

Summary

The benchmark built under SingleSource/Benchmarks/Misc-C++-EH requires
pthread functions but did not previously have -pthread in LDFLAGS.
This causes an issue when attempting to statically compile the binary.

Diff Detail

Event Timeline

mcrosier updated this revision to Diff 45028.Jan 15 2016, 1:23 PM
mcrosier retitled this revision from to [test-suite] Add -pthread to Misc-C++-EH LDFLAGS.
mcrosier updated this object.
mcrosier added reviewers: MatzeB, cmatthews.
mcrosier added a subscriber: llvm-commits.
MatzeB accepted this revision.Jan 15 2016, 1:29 PM
MatzeB edited edge metadata.

LGTM, though I would recommend adding list(APPEND CPPFLAGS -pthread) as well then.

This revision is now accepted and ready to land.Jan 15 2016, 1:29 PM
mcrosier closed this revision.Jan 18 2016, 7:47 AM

Committed r258050.