commit | 22b6fd9d6c53de44e612f31b78b964c3a10a24a1 | [log] [tgz] |
---|---|---|
author | Cyril Hrubis <chrubis@suse.cz> | Wed Feb 17 14:22:36 2010 +0100 |
committer | Andi Kleen <ak@linux.intel.com> | Wed Feb 17 14:22:36 2010 +0100 |
tree | 7ddb2c6eb0b2483674abfba44082ed093a5bd0b1 | |
parent | 94b1f943cf8b4ec8254ce49fe081181867eb1bb8 [diff] |
Fix build problems The first one is -lpthread versus -pthread, on newer distros -lpthread doesn't always work while -pthread works all the time (and my manpages says to link with -pthread anyway). The second problem is generating dependencies with cc -MM, our buildsystem quarrels when passing headers to that and it's IMHO right (as gcc -MM generates dependencies for c source(s)). Signed-off-by: Andi Kleen <ak@linux.intel.com>