diff options
Diffstat (limited to 'redhat/kdeaddons/trinity-kdeaddons-3.5.12.spec')
-rw-r--r-- | redhat/kdeaddons/trinity-kdeaddons-3.5.12.spec | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/redhat/kdeaddons/trinity-kdeaddons-3.5.12.spec b/redhat/kdeaddons/trinity-kdeaddons-3.5.12.spec index addc8d84a..a63d01271 100644 --- a/redhat/kdeaddons/trinity-kdeaddons-3.5.12.spec +++ b/redhat/kdeaddons/trinity-kdeaddons-3.5.12.spec @@ -92,6 +92,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 \ --includedir=%{_includedir}/kde \ --disable-rpath \ @@ -105,6 +109,7 @@ export LDFLAGS="-L%{_libdir} -I%{_includedir}" %install +export PATH="%{_bindir}:${PATH}" %__rm -rf %{buildroot} %make_install |