commit | 46d730bf61d45811db01d76bac304e54aea8e341 | [log] [tgz] |
---|---|---|
author | Paul Wankadia <junyer@google.com> | Sun Jan 03 17:38:22 2016 +1100 |
committer | Paul Wankadia <junyer@google.com> | Sun Jan 03 12:21:35 2016 +0000 |
tree | 628efcfcd733b52fe847cb8710184fa5654debdf | |
parent | 7ae8845d4514ca7ddb5b8682d4f4cb3d3f1b16d0 [diff] |
Use "-pthread" when compiling as well as when linking. As per the gcc(1) manual page: "This option sets flags for both the preprocessor and linker." In practice, that means -D_REENTRANT and -lpthread, respectively, or the equivalent flags for the platform. Change-Id: I8cda318f00f0a9c9111bf07780298a41720a7229 Reviewed-on: https://code-review.googlesource.com/3941 Reviewed-by: Stefano Rivera <stefano@rivera.za.net> Reviewed-by: Paul Wankadia <junyer@google.com>