summaryrefslogtreecommitdiffstats
path: root/redhat/applications/qalculate-tde/qalculate-tde.spec
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/applications/qalculate-tde/qalculate-tde.spec')
-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