* configure.ac: Use -melf_*_obsd on openbsd.
This commit is contained in:
parent
ff2d4dc41c
commit
6d0740e8ca
2 changed files with 12 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
|||
2013-10-12 Ilya Bakulin <Ilya_Bakulin@genua.de>
|
||||
|
||||
* configure.ac: Use -melf_*_obsd on openbsd.
|
||||
|
||||
2013-10-12 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* grub-core/kern/arm/dl_helper.c: Use more proper %p for pointer.
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue