summaryrefslogtreecommitdiffstats
path: root/redhat/main/tdemultimedia/tdemultimedia-14.0.0.spec
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/main/tdemultimedia/tdemultimedia-14.0.0.spec')
-rw-r--r--redhat/main/tdemultimedia/tdemultimedia-14.0.0.spec5
1 files changed, 5 insertions, 0 deletions
diff --git a/redhat/main/tdemultimedia/tdemultimedia-14.0.0.spec b/redhat/main/tdemultimedia/tdemultimedia-14.0.0.spec
index dfb629771..7fa33e23f 100644
--- a/redhat/main/tdemultimedia/tdemultimedia-14.0.0.spec
+++ b/redhat/main/tdemultimedia/tdemultimedia-14.0.0.spec
@@ -1268,6 +1268,11 @@ export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}"
--with-flac \
%{?with_xine:--with-xine} %{!?with_xine:--without-xine}
+# Fix unexplained "undefined reference to `__stack_chk_fail'"
+%if 0%{?mgaversion} == 4
+%__sed -i "noatun/app/Makefile" -e "/^libtdeinit_noatun_la_LDFLAGS/ s/$/ -Wl,-lc/"
+%endif
+
%__make %{?_smp_mflags} || %__make