[vlc-commits] contrib: gnutls: Don't disable assembly for x86_64 with clang/windows

Martin Storsjö git at videolan.org
Tue Oct 16 11:33:26 CEST 2018


vlc | branch: master | Martin Storsjö <martin at martin.st> | Tue Oct 16 12:24:37 2018 +0300| [024b3189d0ee66fd25b1760d08c324e833982ba7] | committer: Martin Storsjö

contrib: gnutls: Don't disable assembly for x86_64 with clang/windows

Since some time, clang supports all the necessary assembler directives
for building the gnutls x86_64 assembly.

The aarch64 assembly isn't ready to be built on windows yet, though;
it unconditionally tries to use .size and .type and GNU stack notes.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=024b3189d0ee66fd25b1760d08c324e833982ba7
---

 contrib/src/gnutls/rules.mak | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/contrib/src/gnutls/rules.mak b/contrib/src/gnutls/rules.mak
index e0f31a23d7..159a76d271 100644
--- a/contrib/src/gnutls/rules.mak
+++ b/contrib/src/gnutls/rules.mak
@@ -77,7 +77,7 @@ endif
 ifdef HAVE_WIN32
 	GNUTLS_CONF += --without-libidn2
 ifdef HAVE_CLANG
-ifneq ($(findstring $(ARCH), x86_64 aarch64),)
+ifeq ($(ARCH),aarch64)
 	GNUTLS_CONF += --disable-hardware-acceleration
 endif
 endif



More information about the vlc-commits mailing list