commit | a46d3ebfd8f295a32e2dab6241d207e04302b483 | [log] [tgz] |
---|---|---|
author | Derek Schuff <dschuff@chromium.org> | Wed Mar 04 17:44:30 2015 |
committer | Derek Schuff <dschuff@chromium.org> | Wed Mar 04 17:44:30 2015 |
tree | 5f1b4bf0322398a33cb13666bb124aacd8abfbee | |
parent | 8517045d75bd917d810f6e7eace416b681a52684 [diff] |
Include -lpthread on the link line automatically only for C++ It's not necessary for C-only programs, only when using libc++. Use %clangxx rather than %clang in the C++ tests because just changing the language (-x c++) doesn't change the linker behavior (i.e. the CCCIsCXX() check). R=jvoung@chromium.org BUG= https://code.google.com/p/nativeclient/issues/detail?id=4088 Review URL: https://codereview.chromium.org/964923003