On Fri, 2012-07-06 at 16:42 -0700, Vinson Lee wrote:
> Fix build on Ubuntu 11.10 and Ubuntu 12.04.
> 
> Tested that dbench still builds with Ubuntu 11.04, CentOS 5, CentOS 6,
> and Fedora 17.

LGTM, applied to next.

> 
> Signed-off-by: Vinson Lee <v...@twitter.com>
> ---
>  client/tests/dbench/dbench_startup.patch |    4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/client/tests/dbench/dbench_startup.patch 
> b/client/tests/dbench/dbench_startup.patch
> index b23e67c..b831c52 100644
> --- a/client/tests/dbench/dbench_startup.patch
> +++ b/client/tests/dbench/dbench_startup.patch
> @@ -6,11 +6,11 @@ diff -u old/ new/
>   
>   dbench: $(DB_OBJS)
>  -    $(CC) -o $@ $(DB_OBJS) $(LIBS)
> -+    $(CC) -lpthread -o $@ $(DB_OBJS) $(LIBS)
> ++    $(CC) -pthread -o $@ $(DB_OBJS) $(LIBS)
>   
>   tbench: $(TB_OBJS)
>  -    $(CC) -o $@ $(TB_OBJS) $(LIBS)
> -+    $(CC) -lpthread -o $@ $(TB_OBJS) $(LIBS)
> ++    $(CC) -pthread -o $@ $(TB_OBJS) $(LIBS)
>   
>   tbench_srv: $(SRV_OBJS)
>       $(CC) -o $@ $(SRV_OBJS) $(LIBS)


_______________________________________________
Autotest mailing list
Autotest@test.kernel.org
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest

Reply via email to