Permalink
Browse files

Fix building on ppc/ppc64/alpha. (Gentoo bug #395213)

  • Loading branch information...
1 parent bf23848 commit a8149e5ed3d3e36f13a05dd26aee96cfca2d1fce @tallica tallica committed Jan 17, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 acinclude.m4
View
@@ -165,13 +165,13 @@ if test "x$GCC" = "xyes"; then
AUD_CHECK_CFLAGS(-Wtype-limits)
fi
-dnl Enable "-z defs" only on Linux
+dnl Enable "-Wl,-z,defs" only on Linux
dnl ==============================
AC_MSG_CHECKING([for Linux])
case "$target" in
*linux*)
AC_MSG_RESULT([yes])
- LDFLAGS="$LDFLAGS -z defs"
+ LDFLAGS="$LDFLAGS -Wl,-z,defs"
;;
*)
AC_MSG_RESULT([no])

0 comments on commit a8149e5

Please sign in to comment.