Commit bb491090 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

contrib: prefer PIC for a52

parent 6d13c3b6
diff -ru a52dec.orig/liba52/configure.incl a52dec/liba52/configure.incl
--- a52dec.orig/liba52/configure.incl 2011-08-03 13:22:24.000000000 +0300
+++ a52dec/liba52/configure.incl 2011-08-03 13:22:46.000000000 +0300
@@ -1,9 +1,6 @@
AC_SUBST([LIBA52_CFLAGS])
AC_SUBST([LIBA52_LIBS])
-dnl avoid -fPIC when possible
-LIBA52_CFLAGS="$LIBA52_CFLAGS -prefer-non-pic"
-
AC_ARG_ENABLE([double],
[ --enable-double use double-precision samples])
if test x"$enable_double" = x"yes"; then
......@@ -12,15 +12,14 @@ $(TARBALLS)/a52dec-$(A52DEC_VERSION).tar.gz:
a52dec: a52dec-$(A52DEC_VERSION).tar.gz .sum-a52
$(UNPACK)
$(APPLY) $(SRC)/a52/liba52-pic.patch
ifndef HAVE_FPU
$(APPLY) $(SRC)/a52/liba52-fixed.diff
endif
$(MOVE)
.a52: a52dec
ifdef HAVE_WIN64
$(RECONF)
endif
cd $< && $(HOSTVARS) ./configure $(HOSTCONF)
cd $</liba52 && $(MAKE) install
cd $</include && $(MAKE) install
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment