summaryrefslogtreecommitdiffstats
path: root/redhat/kdeadmin/trinity-kdeadmin-3.5.12.spec
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/kdeadmin/trinity-kdeadmin-3.5.12.spec')
-rw-r--r--redhat/kdeadmin/trinity-kdeadmin-3.5.12.spec6
1 files changed, 5 insertions, 1 deletions
diff --git a/redhat/kdeadmin/trinity-kdeadmin-3.5.12.spec b/redhat/kdeadmin/trinity-kdeadmin-3.5.12.spec
index 95dbad557..83f0aafe0 100644
--- a/redhat/kdeadmin/trinity-kdeadmin-3.5.12.spec
+++ b/redhat/kdeadmin/trinity-kdeadmin-3.5.12.spec
@@ -76,6 +76,10 @@ unset QTDIR || : ; . /etc/profile.d/qt.sh
export PATH="%{_bindir}:${PATH}"
export LDFLAGS="-L%{_libdir} -I%{_includedir}"
+%if 0%{?fedora} > 0
+export CXXFLAGS="${CXXFLAGS} -fpermissive"
+%endif
+
%configure \
--enable-new-ldflags \
--disable-dependency-tracking \
@@ -83,7 +87,7 @@ export LDFLAGS="-L%{_libdir} -I%{_includedir}"
--with-rpm \
--enable-final \
--with-private-groups \
- --with-extra-includes=%{_includedir}/tqt
+ --with-extra-includes=%{_includedir}/tqt
%__make %{?_smp_mflags}