[vlc-commits] No need to set LDFLAGS_vlc

Rafaël Carré git at videolan.org
Sun Nov 20 23:00:25 CET 2011


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Sun Nov 20 16:46:46 2011 -0500| [5df271068ac0756c93b0ae6c2f4dad4dc0d7b43c] | committer: Rafaël Carré

No need to set LDFLAGS_vlc

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

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

diff --git a/configure.ac b/configure.ac
index 6d60b78..864b46d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -172,11 +172,6 @@ AS_IF([test -n "${CONTRIB_DIR}"], [
 AC_SUBST(CONTRIB_DIR)
 
 dnl
-dnl  Set default values
-dnl
-LDFLAGS_vlc="${LDFLAGS}"
-
-dnl
 dnl  Check the operating system
 dnl
 HAVE_WIN64="0"
@@ -1561,7 +1556,7 @@ dnl - Others: test should fail
 
   AC_CACHE_CHECK([if linker needs -framework vecLib],
     [ac_cv_ld_altivec],
-    [LDFLAGS="${LDFLAGS_vlc} -Wl,-framework,vecLib"
+    [LDFLAGS="${LDFLAGS} -Wl,-framework,vecLib"
      AC_TRY_LINK([],,ac_cv_ld_altivec=yes,ac_cv_ld_altivec=no)
      LDFLAGS="${LDFLAGS_save}"
     ])
@@ -2467,7 +2462,7 @@ AM_CONDITIONAL([MERGE_FFMPEG], [test "$enable_merge_ffmpeg" != "no"])
 
 AC_CACHE_CHECK([if linker supports -Bsymbolic],
   [ac_cv_ld_bsymbolic],
-  [LDFLAGS="${LDFLAGS_vlc} -Wl,-Bsymbolic"
+  [LDFLAGS="${LDFLAGS} -Wl,-Bsymbolic"
     AC_TRY_LINK([],,ac_cv_ld_bsymbolic=yes,ac_cv_ld_bsymbolic=no)
     LDFLAGS="${LDFLAGS_save}"
   ])



More information about the vlc-commits mailing list