From patchwork Wed Jan 15 16:08:06 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Giulio Benetti X-Patchwork-Id: 11335261 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 3E903138D for ; Wed, 15 Jan 2020 16:15:25 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id E61C224656 for ; Wed, 15 Jan 2020 16:15:24 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=aruba.it header.i=@aruba.it header.b="WhLecIkE" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726566AbgAOQPY (ORCPT ); Wed, 15 Jan 2020 11:15:24 -0500 Received: from smtpcmd03116.aruba.it ([62.149.158.116]:44973 "EHLO smtpcmd03116.aruba.it" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726501AbgAOQPY (ORCPT ); Wed, 15 Jan 2020 11:15:24 -0500 X-Greylist: delayed 433 seconds by postgrey-1.27 at vger.kernel.org; Wed, 15 Jan 2020 11:15:23 EST Received: from ubuntu.localdomain ([212.103.203.10]) by smtpcmd03.ad.aruba.it with bizsmtp id qg872100b0DySFo01g88go; Wed, 15 Jan 2020 17:08:08 +0100 From: Giulio Benetti To: linux-nfs@vger.kernel.org Cc: Steve Dickson , Giulio Benetti Subject: [nfs-utils PATCH] locktest: Makefile.am: remove host compiler costraint Date: Wed, 15 Jan 2020 17:08:06 +0100 Message-Id: <20200115160806.99991-1-giulio.benetti@benettiengineering.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aruba.it; s=a1; t=1579104488; bh=iAzp4QmcT/ZpmpX8U0+GyLtP6UBJOxtzoI3C5tgYU4E=; h=From:To:Subject:Date:MIME-Version; b=WhLecIkEoNH3k3j4EtEYJI3JwODq9RRYLWVjMgUYINZQxncALuMG9BrY6spg6BqgK vCm23x00NQsVHZpsByk+TfsFFNFb0xW+I7Fd1KEy+Z5LyN+ijKq6SZH81I9QaPOnmZ +aaSmaWDPATgftMBTH3y74lAJSUD0ghsHN6d7qJ6jZw7ND6oTVV0eD41/co7bdL66u ApSTBvocuvfMzZA8Mcajzo9PjgnnirzBK2Dmdkxby0HwnRPp1Wf702WM84OvwNzutL defMMqvjrrnyOmkVj9wnTieLpRqGQ3mvDPBs3svlFzPLEE18GhSvklZ5j27yX3qEZp Qsc4BkKS+2Yug== Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org 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 Reviewed-by: Petr Vorel Tested-by: Petr Vorel --- 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)