summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorMiguel Freitas <miguelfreitas@users.sourceforge.net>2007-01-28 17:17:56 +0000
committerMiguel Freitas <miguelfreitas@users.sourceforge.net>2007-01-28 17:17:56 +0000
commit15fe686025e855b0d7fd0c3a9b72730088b7191e (patch)
tree31f6f170dbbf995df3491ce58b94870d4ced7dbf /configure.ac
parenta56793d61e8152be10f485a1750ec608cd595a41 (diff)
downloadxine-lib-15fe686025e855b0d7fd0c3a9b72730088b7191e.tar.gz
xine-lib-15fe686025e855b0d7fd0c3a9b72730088b7191e.tar.bz2
disabled "-Wl,-z,defs": it breaks compilation for vidix drivers.
no, linking twice to libdha.a is not an acceptable solution. CVS patchset: 8571 CVS date: 2007/01/28 17:17:56
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac20
1 files changed, 11 insertions, 9 deletions
diff --git a/configure.ac b/configure.ac
index 268d01124..c1dc0f07f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2562,15 +2562,17 @@ AC_TRY_CFLAGS("-Wstrict-aliasing", wsa="-Wstrict-aliasing")
AC_TRY_CFLAGS("-Wstrict-aliasing=2", wsa="-Wstrict-aliasing=2")
CFLAGS="$CFLAGS $wsa"
-case $host_or_hostalias in
- dnl FreeBSD (et al.) does not complete linking for shared objects when pthreads
- dnl are requested, as different implementations are present; to avoid problems
- dnl use -Wl,-z,defs only for those platform not behaving this way.
- *-freebsd*) ;;
- *)
- AC_TRY_LDFLAGS([-Wl,-z,defs], [LDFLAGS="$LDFLAGS -Wl,-z,defs"])
- ;;
-esac
+dnl disabled "-Wl,-z,defs": it breaks compilation for vidix drivers.
+dnl note: no, linking twice to libdha.a is not an acceptable solution.
+dnl case $host_or_hostalias in
+dnl dnl FreeBSD (et al.) does not complete linking for shared objects when pthreads
+dnl dnl are requested, as different implementations are present; to avoid problems
+dnl dnl use -Wl,-z,defs only for those platform not behaving this way.
+dnl *-freebsd*) ;;
+dnl *)
+dnl AC_TRY_LDFLAGS([-Wl,-z,defs], [LDFLAGS="$LDFLAGS -Wl,-z,defs"])
+dnl ;;
+dnl esac
dnl Common cflags for all platforms
CFLAGS="-DNDEBUG -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE \$(MULTIPASS_CFLAGS) $CFLAGS"