From 06d0072d6a16848fdfe0e4d705f742344e93b06d Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Sat, 27 Oct 2018 11:34:11 -0400 Subject: [PATCH] Add CRYPTOPP_DISABLE_ASM to dependency recipe This stops the inclusion of SSE headers without arch options that break the recipe --- GNUmakefile-cross | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/GNUmakefile-cross b/GNUmakefile-cross index b688f192..ba4b7174 100755 --- a/GNUmakefile-cross +++ b/GNUmakefile-cross @@ -633,5 +633,7 @@ sm4-simd.o : sm4-simd.cpp %.o : %.cpp $(CXX) $(strip $(CXXFLAGS) -c) $< -GNUmakefile.deps: - $(CXX) $(strip $(CXXFLAGS) -MM) *.cpp > GNUmakefile.deps +.PHONY: dep deps depend +dep deps depend GNUmakefile.deps: + $(CXX) $(strip $(CXXFLAGS) -DCRYPTOPP_DISABLE_ASM) -MM *.cpp > GNUmakefile.deps +