Browse Source

Contribs: try to detect GCC 4.9 without bc

pull/46/head
Jean-Baptiste Kempf 10 years ago
parent
commit
6728a9371f
  1. 4
      contrib/src/ssh2/rules.mak

4
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))

Loading…
Cancel
Save