summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2007-06-30 06:38:57 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2007-06-30 06:38:57 +0000
commit0bc824172a8b9b716503313bfb1a3790faee9c33 (patch)
treefaf930efb3b1f32dc520264500202a3fb6e54681
parent0ed8d1b0ed6b8f5f56cea5a302999ffc0c736ec1 (diff)
Fix linking on OpenBSD/a.out systems. Tested by Nick@.
-rw-r--r--xserver/configure.ac9
1 files changed, 8 insertions, 1 deletions
diff --git a/xserver/configure.ac b/xserver/configure.ac
index 9dc1a3db0..6d9eb43eb 100644
--- a/xserver/configure.ac
+++ b/xserver/configure.ac
@@ -1341,7 +1341,14 @@ int main () {
fi
case $host_os in
openbsd*)
- LD_EXPORT_SYMBOLS_FLAG="-Wl,--export-dynamic"
+ case $host_cpu in
+ m68k|m88k|vax)
+ LD_EXPORT_SYMBOLS_FLAGS=""
+ ;;
+ *)
+ LD_EXPORT_SYMBOLS_FLAG="-Wl,--export-dynamic"
+ ;;
+ esac
;;
esac
AC_SUBST([XORG_CFLAGS])