[vlc-commits] Contribs: try to detect GCC 4.9 without bc
Jean-Baptiste Kempf
git at videolan.org
Thu May 19 18:02:02 CEST 2016
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu May 19 18:00:15 2016 +0200| [6728a9371f271b462bbdc6675421cfd8b4b24fa9] | committer: Jean-Baptiste Kempf
Contribs: try to detect GCC 4.9 without bc
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6728a9371f271b462bbdc6675421cfd8b4b24fa9
---
contrib/src/ssh2/rules.mak | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/contrib/src/ssh2/rules.mak b/contrib/src/ssh2/rules.mak
index ac71c98..95bfd0a 100644
--- a/contrib/src/ssh2/rules.mak
+++ b/contrib/src/ssh2/rules.mak
@@ -10,11 +10,9 @@ ifeq ($(call need_pkg,"libssh2"),)
PKGS_FOUND += ssh2
endif
-ifndef HAVE_WIN32
-ifeq ($(shell echo `${CC} -dumpversion | cut -f1-2 -d.` == 4.9 | bc ),1)
+ifeq ($(shell echo `${CC} -dumpversion | cut -f1-2 -d.`),4.9)
BROKEN_GCC_CFLAGS:="CFLAGS=-O1"
endif
-endif
$(TARBALLS)/libssh2-$(LIBSSH2_VERSION).tar.gz:
$(call download,$(LIBSSH2_URL))
More information about the vlc-commits
mailing list