[vlc-devel] commit: Remove the forced ld -z,defs flags. ( Rémi Denis-Courmont )

git version control git at videolan.org
Sun Apr 27 20:16:38 CEST 2008


vlc | branch: master | Rémi Denis-Courmont <rem at videolan.org> | Sun Apr 27 21:17:42 2008 +0300| [074ed6708644323bd441332fb7d34b99bd954350]

Remove the forced ld -z,defs flags.

Clueful people use them when they need to. Let them decide.

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

 configure.ac |    9 ---------
 1 files changed, 0 insertions(+), 9 deletions(-)

diff --git a/configure.ac b/configure.ac
index d8394b4..7da3dda 100644
--- a/configure.ac
+++ b/configure.ac
@@ -965,15 +965,6 @@ CFLAGS="${CFLAGS_save}"
 RDC_PROG_CC_WFLAGS([all extra sign-compare undef pointer-arith bad-function-cast cast-align write-strings missing-prototypes volatile-register-var])
 RDC_PROG_CC_FLAGS_IFELSE([-pipe])
 
-dnl This helps detect broken plugins with undefined symbols
-dnl Better fail loudly at build-time than silenty at run-time.
-dnl Unfortunately, this sucks on FreeBSD (won't even link with -lc)
-if test `uname -s` != FreeBSD; then
-  RDC_PROG_LINK_FLAGS_IFELSE([-Wl,-z,defs], [
-    VLC_ADD_LDFLAGS([plugin],[-Wl,-z,defs])
-  ])
-fi
-
 dnl Check for various optimization flags
 AC_CACHE_CHECK([if \$CC accepts -Os],
     [ac_cv_c_os],




More information about the vlc-devel mailing list