summaryrefslogtreecommitdiffstats
path: root/dilos/tdebindings/debian/patches/common/06_disable_no_undefined.diff
diff options
context:
space:
mode:
authorDenis Kozadaev <denis@dilos.org>2020-01-30 22:13:12 +0300
committerSlávek Banko <slavek.banko@axis.cz>2020-03-08 15:30:19 +0100
commit3d2560c0381e2b922085371e21ec9308b3d61973 (patch)
tree4d81e72fbf9d7c2fd8d5af24a4f4837eb454f5c5 /dilos/tdebindings/debian/patches/common/06_disable_no_undefined.diff
parent9e3b93f70c85ddc132e48625af44284ddc852205 (diff)
downloadtde-packaging-3d2560c0381e2b922085371e21ec9308b3d61973.tar.gz
tde-packaging-3d2560c0381e2b922085371e21ec9308b3d61973.zip
DilOS: tdebindings build pack
Signed-off-by: Denis Kozadaev <denis@dilos.org> (cherry picked from commit b2bacd0eba07012edb3e69d6793826db1451aebf)
Diffstat (limited to 'dilos/tdebindings/debian/patches/common/06_disable_no_undefined.diff')
-rw-r--r--dilos/tdebindings/debian/patches/common/06_disable_no_undefined.diff18
1 files changed, 18 insertions, 0 deletions
diff --git a/dilos/tdebindings/debian/patches/common/06_disable_no_undefined.diff b/dilos/tdebindings/debian/patches/common/06_disable_no_undefined.diff
new file mode 100644
index 000000000..05c932c3c
--- /dev/null
+++ b/dilos/tdebindings/debian/patches/common/06_disable_no_undefined.diff
@@ -0,0 +1,18 @@
+--- a/admin/acinclude.m4.in
++++ b/admin/acinclude.m4.in
+@@ -1689,15 +1689,6 @@
+ KDE_USE_CLOSURE_TRUE="#"
+ KDE_USE_CLOSURE_FALSE=""
+ KDE_NO_UNDEFINED=""
+- case $host in
+- *-*-linux-gnu)
+- KDE_CHECK_COMPILER_FLAG([Wl,--no-undefined],
+- [KDE_CHECK_COMPILER_FLAG([Wl,--allow-shlib-undefined],
+- [KDE_NO_UNDEFINED="-Wl,--no-undefined -Wl,--allow-shlib-undefined"],
+- [KDE_NO_UNDEFINED=""])],
+- [KDE_NO_UNDEFINED=""])
+- ;;
+- esac
+ fi
+ AC_SUBST(KDE_USE_CLOSURE_TRUE)
+ AC_SUBST(KDE_USE_CLOSURE_FALSE)