aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGiulio Benetti <giulio.benetti@benettiengineering.com>2020-01-22 10:14:51 -0500
committerSteve Dickson <steved@redhat.com>2020-01-22 10:17:03 -0500
commit1fee8caa42138d2786a58d5c315743977694af6f (patch)
treec32f44e82f997bb8334ea8f0eee4b9f53ef19d5f
parent2f8417778b2a58b9a482b5f5e0769e97f3edc1d0 (diff)
downloadnfs-utils-1fee8caa42138d2786a58d5c315743977694af6f.tar.gz
locktest: Makefile.am: remove host compiler costraint
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. Reviewed-by: Petr Vorel <petr.vorel@gmail.com> Tested-by: Petr Vorel <petr.vorel@gmail.com> Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com> Signed-off-by: Steve Dickson <steved@redhat.com>
-rw-r--r--tools/locktest/Makefile.am3
1 files changed, 0 insertions, 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)