Remove the use of the -Bsymbolic linker flag as a workaround to allow

linking Libav on mips64. Copied over from FFmpeg.

ok ajacoutot@
This commit is contained in:
brad 2013-01-27 09:12:55 +00:00
parent 47a155ac28
commit e7b3e9a34f
2 changed files with 14 additions and 6 deletions

View File

@ -1,11 +1,11 @@
# $OpenBSD: Makefile,v 1.9 2013/01/20 07:46:16 brad Exp $
# $OpenBSD: Makefile,v 1.10 2013/01/27 09:12:55 brad Exp $
COMMENT= ffmpeg elements for GStreamer
V= 1.0.5
DISTNAME= gst-libav-${V}
PKGNAME= ${GST_PKGNAME_PREFIX}-plugins-libav-${V}
REVISION= 0
REVISION= 1
# sync with graphics/ffmpeg
PERMIT_PACKAGE_CDROM= patents

View File

@ -1,6 +1,6 @@
$OpenBSD: patch-gst-libs_ext_libav_configure,v 1.1.1.1 2012/09/15 12:24:16 ajacoutot Exp $
--- gst-libs/ext/libav/configure.orig Sat Sep 15 09:18:23 2012
+++ gst-libs/ext/libav/configure Sat Sep 15 09:20:00 2012
$OpenBSD: patch-gst-libs_ext_libav_configure,v 1.2 2013/01/27 09:12:55 brad Exp $
--- gst-libs/ext/libav/configure.orig Tue Jan 8 05:54:55 2013
+++ gst-libs/ext/libav/configure Fri Jan 25 06:07:33 2013
@@ -2623,7 +2623,7 @@ die_license_disabled version3 libvo_amrwbenc
enabled version3 && { enabled gpl && enable gplv3 || enable lgplv3; }
@ -10,7 +10,15 @@ $OpenBSD: patch-gst-libs_ext_libav_configure,v 1.1.1.1 2012/09/15 12:24:16 ajaco
enable_pic() {
enable pic
@@ -3086,10 +3086,6 @@ if [ -n "$optflags" ]; then
@@ -3067,7 +3067,6 @@ enabled extra_warnings && check_cflags -Winline
# add some linker flags
check_ldflags -Wl,--warn-common
check_ldflags -Wl,-rpath-link=libpostproc:libswscale:libavfilter:libavdevice:libavformat:libavcodec:libavutil
-test_ldflags -Wl,-Bsymbolic && append SHFLAGS -Wl,-Bsymbolic
echo "X{};" > $TMPV
if test_ldflags -Wl,--version-script,$TMPV; then
@@ -3086,10 +3085,6 @@ if [ -n "$optflags" ]; then
add_cflags $optflags
elif enabled small; then
add_cflags $size_cflags