Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Aug 2019 09:13:34 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r507762 - head/multimedia/ffmpeg
Message-ID:  <201908010913.x719DYAL052241@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Thu Aug  1 09:13:34 2019
New Revision: 507762
URL: https://svnweb.freebsd.org/changeset/ports/507762

Log:
  multimedia/ffmpeg: unbreak FLITE=on with Clang after r507592
  
  -Wl,--as-needed is partially broken in base GNU bfd:
  /usr/local/lib/libflite_cmu_us_awb.so: undefined reference to `usenglish_init'
  /usr/local/lib/libflite_cmu_us_awb.so: undefined reference to `cmu_lex_init'
  /usr/local/lib/libflite_cmu_us_kal.so: undefined reference to `cmu_postlex'
  
  PR:		239567
  Reported by:	VVD

Modified:
  head/multimedia/ffmpeg/Makefile   (contents, props changed)

Modified: head/multimedia/ffmpeg/Makefile
==============================================================================
--- head/multimedia/ffmpeg/Makefile	Thu Aug  1 09:02:23 2019	(r507761)
+++ head/multimedia/ffmpeg/Makefile	Thu Aug  1 09:13:34 2019	(r507762)
@@ -214,6 +214,9 @@ FDK_AAC_IMPLIES=	NONFREE
 # flite
 FLITE_LIB_DEPENDS=	libflite.so:audio/flite
 FLITE_CONFIGURE_ENABLE=	libflite
+.if exists(/usr/bin/ld.lld) && (${/usr/bin/ld:L:tA} != /usr/bin/ld.lld)
+FLITE_LDFLAGS=		-fuse-ld=lld
+.endif
 
 # fontconfig
 FONTCONFIG_LIB_DEPENDS=	libfontconfig.so:x11-fonts/fontconfig



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201908010913.x719DYAL052241>