Apply fixes for out-of-source build only for F33+
This commit is contained in:
parent
17ebb60f9e
commit
675cde05c7
@ -158,7 +158,10 @@ export CXXFLAGS="$CFLAGS -std=c++11"
|
|||||||
%cmake_build
|
%cmake_build
|
||||||
|
|
||||||
pushd unix/xserver
|
pushd unix/xserver
|
||||||
|
|
||||||
|
%if 0%{?fedora} > 32
|
||||||
sed -i 's@TIGERVNC_BUILDDIR=${TIGERVNC_SRCDIR}@TIGERVNC_BUILDDIR=${TIGERVNC_SRCDIR}/%{_target_platform}@g' hw/vnc/Makefile.am
|
sed -i 's@TIGERVNC_BUILDDIR=${TIGERVNC_SRCDIR}@TIGERVNC_BUILDDIR=${TIGERVNC_SRCDIR}/%{_target_platform}@g' hw/vnc/Makefile.am
|
||||||
|
%endif
|
||||||
|
|
||||||
autoreconf -fiv
|
autoreconf -fiv
|
||||||
%configure \
|
%configure \
|
||||||
@ -182,7 +185,11 @@ make %{?_smp_mflags}
|
|||||||
popd
|
popd
|
||||||
|
|
||||||
# Build icons
|
# Build icons
|
||||||
|
%if 0%{?fedora} > 32
|
||||||
pushd %{_target_platform}/media
|
pushd %{_target_platform}/media
|
||||||
|
%else
|
||||||
|
pushd media
|
||||||
|
%endif
|
||||||
make
|
make
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user