summaryrefslogtreecommitdiffstats
path: root/redhat/applications/qalculate-tde
diff options
context:
space:
mode:
authorFrançois Andriot <[email protected]>2017-06-27 20:28:07 +0200
committerFrançois Andriot <[email protected]>2017-06-27 20:28:07 +0200
commit3ed93e42cb7360ce5e198fe78fdaafd6cf242222 (patch)
tree2a8ebabbfd00514d8a31a13a7b8dc27f3cc51421 /redhat/applications/qalculate-tde
parent608d97009e5cad1da8c2e585fee7537d579c064d (diff)
downloadtde-packaging-3ed93e42cb7360ce5e198fe78fdaafd6cf242222.tar.gz
tde-packaging-3ed93e42cb7360ce5e198fe78fdaafd6cf242222.zip
RPM: add build workarounds for kvirc, piklab, qalculate and tderadio
Diffstat (limited to 'redhat/applications/qalculate-tde')
-rw-r--r--redhat/applications/qalculate-tde/qalculate-tde.spec4
1 files changed, 4 insertions, 0 deletions
diff --git a/redhat/applications/qalculate-tde/qalculate-tde.spec b/redhat/applications/qalculate-tde/qalculate-tde.spec
index 924875d9d..ef36cdc26 100644
--- a/redhat/applications/qalculate-tde/qalculate-tde.spec
+++ b/redhat/applications/qalculate-tde/qalculate-tde.spec
@@ -126,6 +126,10 @@ export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}"
--enable-rpath \
--disable-gcc-hidden-visibility
+%if 0%{?mgaversion} >= 6
+%__sed -i "src/Makefile" -e "s|-Wl,--no-undefined||"
+%endif
+
%__make %{?_smp_mflags} || %__make