Use predictable builddir

This commit is contained in:
Alexander Bokovoy 2018-02-01 23:14:35 +02:00
parent e3db5caf0d
commit 31bda2e236

View File

@ -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 ..