Use predictable builddir
This commit is contained in:
parent
e3db5caf0d
commit
31bda2e236
@ -66,11 +66,12 @@ export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
|
||||
%configure \
|
||||
--disable-static \
|
||||
--enable-sdl \
|
||||
--enable-frame-pointer
|
||||
--enable-frame-pointer \
|
||||
--enable-builddir=_builddir
|
||||
# Remove rpath on 64bit archs
|
||||
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
|
||||
cd %{_host}
|
||||
cd _builddir
|
||||
%apply_patch %{PATCH1} -p2
|
||||
cd ..
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user