]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
* configure.ac: Use -melf_*_obsd on openbsd.
authorIlya Bakulin <Ilya_Bakulin@genua.de>
Sat, 12 Oct 2013 06:08:11 +0000 (08:08 +0200)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Sat, 12 Oct 2013 06:08:11 +0000 (08:08 +0200)
ChangeLog
configure.ac

index af66d3a56ae50141ca7e85d0bebf0cea249493c3..42cf3dca3d476f84d98f0fb9a452eeab04c483df 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
index ed2ff2337b65b6f09514769395e8aa87e6768674..d3082c785127f72b635492791d191a0cab3647d6 100644 (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"