Commit 5df27106 authored by Rafaël Carré's avatar Rafaël Carré

No need to set LDFLAGS_vlc

parent a2705d44
...@@ -171,11 +171,6 @@ AS_IF([test -n "${CONTRIB_DIR}"], [ ...@@ -171,11 +171,6 @@ AS_IF([test -n "${CONTRIB_DIR}"], [
]) ])
AC_SUBST(CONTRIB_DIR) AC_SUBST(CONTRIB_DIR)
dnl
dnl Set default values
dnl
LDFLAGS_vlc="${LDFLAGS}"
dnl dnl
dnl Check the operating system dnl Check the operating system
dnl dnl
...@@ -1561,7 +1556,7 @@ dnl - Others: test should fail ...@@ -1561,7 +1556,7 @@ dnl - Others: test should fail
AC_CACHE_CHECK([if linker needs -framework vecLib], AC_CACHE_CHECK([if linker needs -framework vecLib],
[ac_cv_ld_altivec], [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) AC_TRY_LINK([],,ac_cv_ld_altivec=yes,ac_cv_ld_altivec=no)
LDFLAGS="${LDFLAGS_save}" LDFLAGS="${LDFLAGS_save}"
]) ])
...@@ -2467,7 +2462,7 @@ AM_CONDITIONAL([MERGE_FFMPEG], [test "$enable_merge_ffmpeg" != "no"]) ...@@ -2467,7 +2462,7 @@ AM_CONDITIONAL([MERGE_FFMPEG], [test "$enable_merge_ffmpeg" != "no"])
AC_CACHE_CHECK([if linker supports -Bsymbolic], AC_CACHE_CHECK([if linker supports -Bsymbolic],
[ac_cv_ld_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) AC_TRY_LINK([],,ac_cv_ld_bsymbolic=yes,ac_cv_ld_bsymbolic=no)
LDFLAGS="${LDFLAGS_save}" LDFLAGS="${LDFLAGS_save}"
]) ])
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment