Use armv7l for machine of Clang triplet armv8l-unknown-linux-gnueabihf (GH #831)

Autotools uses armv7l. We should be safe using the same machine.
This commit is contained in:
Jeffrey Walton 2019-05-01 11:00:34 -04:00
parent a5fe6fa6da
commit 337d1c88c8
No known key found for this signature in database
GPG Key ID: B36AB348921B1838

View File

@ -41,7 +41,7 @@ HOSTX := $(shell $(CXX) $(CXXFLAGS) -dumpmachine 2>/dev/null | cut -f 1 -d '-')
# Yet another Clang hack. I think the LLVM devs are making the shit up
# as they go. Also see https://github.com/weidai11/cryptopp/issues/831.
ifeq ($(HOSTX),armv8l-unknown-linux-gnueabihf)
HOSTX := arm-unknown-linux-gnueabihf
HOSTX := armv7l-unknown-linux-gnueabihf
endif
# Fallback
ifeq ($(HOSTX),)