* configure.ac: On FreeBSD use -melf_*_fbsd format.
This commit is contained in:
parent
207862dda4
commit
15ce95c40c
2 changed files with 24 additions and 8 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2013-09-22 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
|
* configure.ac: On FreeBSD use -melf_*_fbsd format.
|
||||||
|
|
||||||
2013-09-21 Ales Nesrsta <starous@volny.cz>
|
2013-09-21 Ales Nesrsta <starous@volny.cz>
|
||||||
|
|
||||||
* grub-core/bus/usb/ehci.c: Correceted EHCI QH handling (async./sync.)
|
* grub-core/bus/usb/ehci.c: Correceted EHCI QH handling (async./sync.)
|
||||||
|
|
28
configure.ac
28
configure.ac
|
@ -633,14 +633,26 @@ if test "x$target_m64" = x1; then
|
||||||
TARGET_MODULE_FORMAT="elf64"
|
TARGET_MODULE_FORMAT="elf64"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test x"$target_os" != xcygwin; then
|
case "$target_os" in
|
||||||
if test x"$target_cpu" = xi386; then
|
cygwin)
|
||||||
TARGET_LDFLAGS="$TARGET_LDFLAGS -Wl,-melf_i386"
|
;;
|
||||||
fi
|
freebsd)
|
||||||
if test x"$target_cpu" = xx86_64; then
|
if test x"$target_cpu" = xi386; then
|
||||||
TARGET_LDFLAGS="$TARGET_LDFLAGS -Wl,-melf_x86_64"
|
TARGET_LDFLAGS="$TARGET_LDFLAGS -Wl,-melf_i386_fbsd"
|
||||||
fi
|
fi
|
||||||
fi
|
if test x"$target_cpu" = xx86_64; then
|
||||||
|
TARGET_LDFLAGS="$TARGET_LDFLAGS -Wl,-melf_x86_64_fbsd"
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
if test x"$target_cpu" = xi386; then
|
||||||
|
TARGET_LDFLAGS="$TARGET_LDFLAGS -Wl,-melf_i386"
|
||||||
|
fi
|
||||||
|
if test x"$target_cpu" = xx86_64; then
|
||||||
|
TARGET_LDFLAGS="$TARGET_LDFLAGS -Wl,-melf_x86_64"
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
if test "$target_cpu" = x86_64; then
|
if test "$target_cpu" = x86_64; then
|
||||||
# Use large model to support 4G memory
|
# Use large model to support 4G memory
|
||||||
|
|
Loading…
Reference in a new issue