use our libtool to avoid problems with RPATH
This commit is contained in:
parent
9c982214d0
commit
fe7a01f5c7
@ -56,6 +56,9 @@ will use the Free Lossless Audio Codec.
|
|||||||
%setup -q -n %{name}-%{version}pre1
|
%setup -q -n %{name}-%{version}pre1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
# use our libtool to avoid problems with RPATH
|
||||||
|
./autogen.sh -V
|
||||||
|
|
||||||
# -funroll-loops makes encoding about 10% faster
|
# -funroll-loops makes encoding about 10% faster
|
||||||
export CFLAGS="%{optflags} -funroll-loops"
|
export CFLAGS="%{optflags} -funroll-loops"
|
||||||
%configure \
|
%configure \
|
||||||
@ -63,10 +66,6 @@ export CFLAGS="%{optflags} -funroll-loops"
|
|||||||
--disable-silent-rules \
|
--disable-silent-rules \
|
||||||
--disable-thorough-tests
|
--disable-thorough-tests
|
||||||
|
|
||||||
# remove RPATH
|
|
||||||
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
|
||||||
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
|
||||||
|
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
Loading…
Reference in New Issue
Block a user