This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Your sim configure commits broke mn10300-sim and m68hc11-sim


please try this.  it works for me.
-mike

2011-10-19  Mike Frysinger  <vapier@gentoo.org>

	* acinclude.m4 (SIM_AC_OPTION_HARDWARE): Check libm for log2 when
	cfi is in the hardware list.

diff --git a/sim/common/acinclude.m4 b/sim/common/acinclude.m4
index 70feca4..35ad690 100644
--- a/sim/common/acinclude.m4
+++ b/sim/common/acinclude.m4
@@ -639,6 +639,10 @@ fi
 if test x"$silent" != x"yes"; then
   echo "Setting hardware to $sim_hw_cflags, $sim_hw, $sim_hw_objs"
 fi])dnl
+dnl Some devices require extra libraries.
+case " $hardware " in
+  *" cfi "*) AC_CHECK_LIB(m, log2);;
+esac
 ])
 AC_SUBST(sim_hw_cflags)
 AC_SUBST(sim_hw_objs)

Attachment: signature.asc
Description: This is a digitally signed message part.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]