summaryrefslogtreecommitdiff
path: root/sim/common
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2016-01-10 15:55:44 -0500
committerMike Frysinger <vapier@gentoo.org>2016-01-10 16:13:13 -0500
commit35656e95217a20309c0a0f16bf0c89a49a549177 (patch)
tree14b29a99593a98996dd1ccea1fe17603c48eab52 /sim/common
parent99d8e879938c947588332a9cc579d378ccc2a855 (diff)
downloadbinutils-gdb-35656e95217a20309c0a0f16bf0c89a49a549177.tar.gz
sim: allow the assert configure option everywhere
Currently ports have to call SIM_AC_OPTION_ASSERT explicitly in order to make the configure flag available, which none of them do. There's no real reason to not allow this flag for all ports, so move it to the common sim macro. This way we get standard behavior across all ports.
Diffstat (limited to 'sim/common')
-rw-r--r--sim/common/ChangeLog4
-rw-r--r--sim/common/acinclude.m41
2 files changed, 5 insertions, 0 deletions
diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog
index a19e56ed855..ae0345915f3 100644
--- a/sim/common/ChangeLog
+++ b/sim/common/ChangeLog
@@ -1,5 +1,9 @@
2016-01-10 Mike Frysinger <vapier@gentoo.org>
+ * acinclude.m4 (SIM_AC_COMMON): Call SIM_AC_OPTION_ASSERT.
+
+2016-01-10 Mike Frysinger <vapier@gentoo.org>
+
* acinclude.m4 (SIM_AC_COMMON): Delete sim_link_files and
sim_link_links.
(SIM_AC_OUTPUT): Delete AC_LINK_FILES call.
diff --git a/sim/common/acinclude.m4 b/sim/common/acinclude.m4
index d5b4b98794d..675c59505ab 100644
--- a/sim/common/acinclude.m4
+++ b/sim/common/acinclude.m4
@@ -223,6 +223,7 @@ if test x"$silent" != x"yes" && test x"$sim_profile" != x""; then
fi],[sim_profile="-DPROFILE=1 -DWITH_PROFILE=-1"])dnl
AC_SUBST(sim_profile)
+SIM_AC_OPTION_ASSERT
SIM_AC_OPTION_INLINE
ACX_PKGVERSION([SIM])