* configure.ac: Use -melf_*_obsd on openbsd.

This commit is contained in:
Ilya Bakulin authored and Vladimir 'phcoder' Serbinenko committed 2013-10-12 08:08:11 +02:00
1 parent ff2d4dc41c
commit 6d0740e8ca
2 files changed
+12

No files matched your search

+8
View File
@@ -655,6 +655,14 @@ case "$target_os" in
TARGET_LDFLAGS="$TARGET_LDFLAGS -Wl,-melf_x86_64_fbsd"
fi
;;
openbsd*)
if test x"$target_cpu" = xi386; then
TARGET_LDFLAGS="$TARGET_LDFLAGS -Wl,-melf_i386_obsd"
fi
if test x"$target_cpu" = xx86_64; then
TARGET_LDFLAGS="$TARGET_LDFLAGS -Wl,-melf_x86_64_obsd"
fi
;;
*)
if test x"$target_cpu" = xi386; then
TARGET_LDFLAGS="$TARGET_LDFLAGS -Wl,-melf_i386"