[librecad/el6] qmake_qt4 hack
Tom Callaway
spot at fedoraproject.org
Wed Jul 9 14:25:23 UTC 2014
commit 9d464609452a8d8afc13de6dd7d10605929de5e7
Author: Tom Callaway <spot at fedoraproject.org>
Date: Wed Jul 9 10:20:43 2014 -0400
qmake_qt4 hack
librecad.spec | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/librecad.spec b/librecad.spec
index cc65dc2..31ecfd7 100644
--- a/librecad.spec
+++ b/librecad.spec
@@ -22,6 +22,10 @@
%endif
%endif
+%if %{oldrel}
+%global qmake_qt4 %{_qt4_qmake} QMAKE_CFLAGS="\${CFLAGS:%optflags}" QMAKE_CXXFLAGS="\${CXXFLAGS:%optflags}" QMAKE_LFLAGS="\${LDFLAGS:%?__global_ldflags}"
+%endif
+
Name: librecad
Version: 2.0.4
Release: 2%{?dist}
More information about the scm-commits
mailing list