Fix GCM build when SSSE3 not available

pull/769/head
Jeffrey Walton 2018-12-29 00:56:25 -05:00
parent fc2ead427c
commit 2d06777747
No known key found for this signature in database
GPG Key ID: B36AB348921B1838
2 changed files with 14 additions and 0 deletions

View File

@ -392,6 +392,13 @@ ifeq ($(DETECT_FEATURES),1)
endif
endif
# Drop to SSSE2 if available
ifeq ($(SSSE3_FLAG),)
ifneq ($(SSE2_FLAG),)
GCM_FLAG = $(SSE2_FLAG)
endif
endif
# DETECT_FEATURES
endif

View File

@ -335,6 +335,13 @@ ifeq ($(DETECT_FEATURES),1)
endif
endif
# Drop to SSSE2 if available
ifeq ($(SSSE3_FLAG),)
ifneq ($(SSE2_FLAG),)
GCM_FLAG = $(SSE2_FLAG)
endif
endif
# DETECT_FEATURES
endif