Re: [nfs-utils PATCH] locktest: Makefile.am: remove host compiler costraint

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Steve,

On 1/22/20 6:56 PM, Steve Dickson wrote:


On 1/15/20 11:08 AM, Giulio Benetti wrote:
Currently locktest can be built only for host because CC_FOR_BUILD is
specified as CC, but this leads to build failure when passing CFLAGS not
available on host gcc(i.e. -mlongcalls) and most of all locktest would
be available on target systems the same way as rpcgen etc. So remove CC
and LIBTOOL assignments.

Signed-off-by: Giulio Benetti <giulio.benetti@xxxxxxxxxxxxxxxxxxxxxx>
Committed... (tag: nfs-utils-2-4-3-rc6)

I've just setup up a Gentoo to try building nfs-utils, I give a try anyway by now, so we should be sure.

Best regards
--
Giulio Benetti
Benetti Engineering sas

steved.
---
  tools/locktest/Makefile.am | 3 ---
  1 file changed, 3 deletions(-)

diff --git a/tools/locktest/Makefile.am b/tools/locktest/Makefile.am
index 3156815d..e8914655 100644
--- a/tools/locktest/Makefile.am
+++ b/tools/locktest/Makefile.am
@@ -1,8 +1,5 @@
  ## Process this file with automake to produce Makefile.in
-CC=$(CC_FOR_BUILD)
-LIBTOOL = @LIBTOOL@ --tag=CC
-
  noinst_PROGRAMS = testlk
  testlk_SOURCES = testlk.c
  testlk_CFLAGS=$(CFLAGS_FOR_BUILD)






[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux