From f549a00582a26fbed8c0ebbd416f14bfae244a97 Mon Sep 17 00:00:00 2001 From: mxaddict Date: Sat, 24 Feb 2024 10:45:40 +0800 Subject: [PATCH] Updated ARCH for mcl and bls to be set to $host_cpu --- src/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Makefile.am b/src/Makefile.am index 45b3b32193625..279210f047cba 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -76,7 +76,7 @@ $(LIBSECP256K1): $(wildcard secp256k1/src/*.h) $(wildcard secp256k1/src/*.c) $(w $(LIBBLS): $(AM_V_at) \ - ARCH='$(firstword $(subst -, ,$(HOST)))' \ + ARCH='$(host_cpu)' \ CC='$(CC)' \ CXX='$(CXX)' \ CFLAGS='$(CXXFLAGS)' \ @@ -90,7 +90,7 @@ $(LIBBLS): $(LIBMCL): $(AM_V_at) \ MCL_USE_LLVM=0 \ - ARCH='$(firstword $(subst -, ,$(HOST)))' \ + ARCH='$(host_cpu)' \ CC='$(CC)' \ CXX='$(CXX)' \ CFLAGS='$(CXXFLAGS)' \