From 8dc1a870973e20011282059ba124838cdd120dd3 Mon Sep 17 00:00:00 2001 From: David Zeng Date: Fri, 20 May 2016 17:41:14 +0800 Subject: [PATCH] The fixed CPU architecture in the Makefile will make failure on ppc64le. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index b6ebf2fe..ee908990 100644 --- a/Makefile +++ b/Makefile @@ -49,7 +49,7 @@ SOURCE := $(patsubst $(SRCDIR)/%,%,$(wildcard $(SRCDIR)/crc/*.c)) \ ifdef CONFIG_LIBHDFS HDFSFLAGS= -I $(JAVA_HOME)/include -I $(JAVA_HOME)/include/linux -I $(FIO_LIBHDFS_INCLUDE) - HDFSLIB= -Wl,-rpath $(JAVA_HOME)/jre/lib/amd64/server -L$(JAVA_HOME)/jre/lib/amd64/server -ljvm $(FIO_LIBHDFS_LIB)/libhdfs.a + HDFSLIB= -Wl,-rpath $(JAVA_HOME)/jre/lib/`uname -m`/server -L$(JAVA_HOME)/jre/lib/`uname -m`/server -ljvm $(FIO_LIBHDFS_LIB)/libhdfs.a CFLAGS += $(HDFSFLAGS) SOURCE += engines/libhdfs.c endif -- 2.25.1