[vlc-commits] [Git][videolan/vlc][master] contrib: ssh2: remove hack for gcc 4.9

Rémi Denis-Courmont (@Courmisch) gitlab at videolan.org
Fri Sep 9 20:04:02 UTC 2022



Rémi Denis-Courmont pushed to branch master at VideoLAN / VLC


Commits:
84990ffa by Steve Lhomme at 2022-09-09T19:10:19+00:00
contrib: ssh2: remove hack for gcc 4.9

VLC 4.0 requires gcc 5.0

- - - - -


1 changed file:

- contrib/src/ssh2/rules.mak


Changes:

=====================================
contrib/src/ssh2/rules.mak
=====================================
@@ -10,10 +10,6 @@ ifeq ($(call need_pkg,"libssh2"),)
 PKGS_FOUND += ssh2
 endif
 
-ifeq ($(shell echo `${CC} -dumpversion | cut -f1-2 -d.`),4.9)
-	BROKEN_GCC_CFLAGS:="CFLAGS=-O1"
-endif
-
 $(TARBALLS)/libssh2-$(LIBSSH2_VERSION).tar.gz:
 	$(call download_pkg,$(LIBSSH2_URL),ssh2)
 
@@ -33,6 +29,6 @@ DEPS_ssh2 = gcrypt $(DEPS_gcrypt)
 
 .ssh2: ssh2
 	$(RECONF)
-	cd $< && $(HOSTVARS) ./configure $(BROKEN_GCC_CFLAGS) $(HOSTCONF) --disable-examples-build --with-libgcrypt --without-openssl --without-mbedtls
+	cd $< && $(HOSTVARS) ./configure $(HOSTCONF) --disable-examples-build --with-libgcrypt --without-openssl --without-mbedtls
 	cd $< && $(MAKE) install
 	touch $@



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/84990ffadaf8bfc3df56298d5473be58cf2a80d8

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/84990ffadaf8bfc3df56298d5473be58cf2a80d8
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list