[vlc-commits] configure: reenable -z,defs

Rémi Denis-Courmont git at videolan.org
Tue Nov 7 17:46:01 CET 2017


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Nov  7 18:45:12 2017 +0200| [f793f286645ff231b8b9dd11450b1f9cd121db25] | committer: Rémi Denis-Courmont

configure: reenable -z,defs

Because people can clearly not be trusted to build without it.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f793f286645ff231b8b9dd11450b1f9cd121db25
---

 configure.ac             |  1 -
 share/lua/sd/recurse.lua | 10 ++++++++++
 2 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 64576ed018..c8f439d468 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1133,7 +1133,6 @@ AC_CACHE_CHECK([if linker supports -z,defs], [ac_cv_ld_z_defs], [
     ac_cv_ld_z_defs="no"
   ])
 ])
-AS_IF([test "${ac_cv_ld_z_defs}" = "no" -o "${with_sanitizer}" != "no"], [VLC_RESTORE_FLAGS])
 
 dnl Check for __attribute__((packed))
 AC_CACHE_CHECK([for __attribute__((packed))],
diff --git a/share/lua/sd/recurse.lua b/share/lua/sd/recurse.lua
new file mode 100644
index 0000000000..357bcb1640
--- /dev/null
+++ b/share/lua/sd/recurse.lua
@@ -0,0 +1,10 @@
+function descriptor()
+    return { title="Infinite Recursion" }
+end
+
+function main()
+    node = vlc.sd.add_node( {title="Top"} )
+    while true do
+        node = node:add_subnode( {title="Node",path="vlc://nop"} )
+    end
+end



More information about the vlc-commits mailing list