Commit 38eda60a authored by Martin Storsjö's avatar Martin Storsjö Committed by Hugo Beauzée-Luyssen

contrib: gnutls: Remove one unnecessary level of ifdefs

The aarch64 assembly in gnutls still needs to be disabled on windows
in general though; the issue is that it unconditionally uses ELF
specific directives (.type, .size, .section), so the disabling isn't
related to any specific issue in clang, but only that gnutls' assembly
for this architecture isn't portable.

Add a comment to clarify the issue.
parent 377b00bf
......@@ -65,12 +65,11 @@ endif
endif
ifdef HAVE_WIN32
GNUTLS_CONF += --without-idn
ifdef HAVE_CLANG
ifeq ($(ARCH),aarch64)
# Gnutls' aarch64 assembly unconditionally uses ELF specific directives
GNUTLS_CONF += --disable-hardware-acceleration
endif
endif
endif
ifdef HAVE_NACL
GNUTLS_CONF += --disable-hardware-acceleration
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment