[mingw-qt: 22/65] compile workarounds
epienbro
epienbro at fedoraproject.org
Tue Mar 6 21:28:36 UTC 2012
commit 0e66fddf26d5b724333cf74f882a97caa3c2d97a
Author: sailer <sailer at fedoraproject.org>
Date: Wed Nov 18 23:25:20 2009 +0000
compile workarounds
mingw32-qt.spec | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/mingw32-qt.spec b/mingw32-qt.spec
index e87bb35..9918961 100644
--- a/mingw32-qt.spec
+++ b/mingw32-qt.spec
@@ -146,6 +146,10 @@ for d in %{subdirs}; do
mkdir -p tmp/obj/release_shared/qt_gui_pch.h.gch
pushd $d
+ if [ -d ../../tmp/moc/release_shared ]; then
+ x=`(cd ../../tmp/moc/release_shared; echo $PWD)`
+ make -f Makefile.Release $x/mocinclude.tmp || true
+ fi
make %{?_smp_mflags} INSTALL_ROOT=$RPM_BUILD_ROOT install
popd
@@ -156,6 +160,10 @@ for d in %{subdirs}; do
mkdir -p tmp/obj/debug_shared/qt_gui_pch.h.gch
pushd $d
+ if [ -d ../../tmp/moc/debug_shared ]; then
+ x=`(cd ../../tmp/moc/debug_shared; echo $PWD)`
+ make -f Makefile.Debug $x/mocinclude.tmp || true
+ fi
make %{?_smp_mflags} INSTALL_ROOT=$RPM_BUILD_ROOT debug-install
popd
done
More information about the scm-commits
mailing list