2013-03-24 22:01:14

by Mike Frysinger

[permalink] [raw]
Subject: [PATCH [nfs-utils]] rpcdebug: do not use build toolchain

The rpcdebug program gets installed, so we don't want to use the build
toolchain to compile it. I can't find any scripts in the build system
that try to execute it, so this shouldn't be a problem.

Signed-off-by: Mike Frysinger <[email protected]>
---
tools/rpcdebug/Makefile.am | 6 ------
1 file changed, 6 deletions(-)

diff --git a/tools/rpcdebug/Makefile.am b/tools/rpcdebug/Makefile.am
index 39b70c9..b0a3e1f 100644
--- a/tools/rpcdebug/Makefile.am
+++ b/tools/rpcdebug/Makefile.am
@@ -1,15 +1,9 @@
## Process this file with automake to produce Makefile.in

-CC=$(CC_FOR_BUILD)
-LIBTOOL = @LIBTOOL@ --tag=CC
-
man8_MANS = rpcdebug.man
EXTRA_DIST = $(man8_MANS)

sbin_PROGRAMS = rpcdebug
rpcdebug_SOURCES = rpcdebug.c
-rpcdebug_CFLAGS=$(CFLAGS_FOR_BUILD)
-rpcdebug_CPPFLAGS=$(CPPFLAGS_FOR_BUILD) -I$(top_srcdir)/support/include
-rpcdebug_LDFLAGS=$(LDFLAGS_FOR_BUILD)

MAINTAINERCLEANFILES = Makefile.in
--
1.8.1.2



2013-03-25 14:19:50

by Steve Dickson

[permalink] [raw]
Subject: Re: [PATCH [nfs-utils]] rpcdebug: do not use build toolchain



On 24/03/13 18:05, Mike Frysinger wrote:
> The rpcdebug program gets installed, so we don't want to use the build
> toolchain to compile it. I can't find any scripts in the build system
> that try to execute it, so this shouldn't be a problem.
>
> Signed-off-by: Mike Frysinger <[email protected]>
Committed...

steved
> ---
> tools/rpcdebug/Makefile.am | 6 ------
> 1 file changed, 6 deletions(-)
>
> diff --git a/tools/rpcdebug/Makefile.am b/tools/rpcdebug/Makefile.am
> index 39b70c9..b0a3e1f 100644
> --- a/tools/rpcdebug/Makefile.am
> +++ b/tools/rpcdebug/Makefile.am
> @@ -1,15 +1,9 @@
> ## Process this file with automake to produce Makefile.in
>
> -CC=$(CC_FOR_BUILD)
> -LIBTOOL = @LIBTOOL@ --tag=CC
> -
> man8_MANS = rpcdebug.man
> EXTRA_DIST = $(man8_MANS)
>
> sbin_PROGRAMS = rpcdebug
> rpcdebug_SOURCES = rpcdebug.c
> -rpcdebug_CFLAGS=$(CFLAGS_FOR_BUILD)
> -rpcdebug_CPPFLAGS=$(CPPFLAGS_FOR_BUILD) -I$(top_srcdir)/support/include
> -rpcdebug_LDFLAGS=$(LDFLAGS_FOR_BUILD)
>
> MAINTAINERCLEANFILES = Makefile.in
>