commit | 6bd317d3c865ebcddcb287a424093fe4758c40ef | [log] [tgz] |
---|---|---|
author | Lei Yang <Lei.Yang@windriver.com> | Wed Aug 29 15:04:08 2018 +0800 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Thu Sep 20 00:26:44 2018 +0200 |
tree | eb143523a9edf980bf1cd969438377b240dfa3f0 | |
parent | 83b20b28c670868bfb717be4fe1557c925a81657 [diff] |
kvm: selftests: use -pthread instead of -lpthread I run into the following error testing/selftests/kvm/dirty_log_test.c:285: undefined reference to `pthread_create' testing/selftests/kvm/dirty_log_test.c:297: undefined reference to `pthread_join' collect2: error: ld returned 1 exit status my gcc version is gcc version 4.8.4 "-pthread" would work everywhere Signed-off-by: Lei Yang <Lei.Yang@windriver.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>