[vlc-devel] [PATCH] contrib: gmp: Fix clang check

Marvin Scholz epirat07 at gmail.com
Fri Oct 4 17:15:12 CEST 2019


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

diff --git a/contrib/src/gmp/rules.mak b/contrib/src/gmp/rules.mak
index fa9b281873..b54617828f 100644
--- a/contrib/src/gmp/rules.mak
+++ b/contrib/src/gmp/rules.mak
@@ -5,7 +5,7 @@ GMP_URL := https://gmplib.org/download/gmp-$(GMP_VERSION)/gmp-$(GMP_VERSION).tar
 
 GMP_CONF :=
 
-ifeq ($(CC),clang)
+ifdef HAVE_CLANG
 ifeq ($(ARCH),mipsel)
 GMP_CONF += --disable-assembly
 endif
-- 
2.20.1 (Apple Git-117)



More information about the vlc-devel mailing list