aboutsummaryrefslogtreecommitdiff
path: root/sim/common/acinclude.m4
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2016-01-09 04:00:53 -0500
committerMike Frysinger <vapier@gentoo.org>2016-01-10 02:54:59 -0500
commit22be3fbeaccf50e3c0f58d0f7e9f7ed77effeaab (patch)
treebb7933fd15e5c4c05fd24fa3c1e01197789f8a89 /sim/common/acinclude.m4
parent7124407794aaa3762a25c26cd3a00a637f7241c9 (diff)
downloadgdb-22be3fbeaccf50e3c0f58d0f7e9f7ed77effeaab.zip
gdb-22be3fbeaccf50e3c0f58d0f7e9f7ed77effeaab.tar.gz
gdb-22be3fbeaccf50e3c0f58d0f7e9f7ed77effeaab.tar.bz2
sim: drop --enable-sim-cflags option
No other sub directory provides such a configuration option, so drop it from the sim dir as well. This cleans up a good bit of code in the process. If people want to use custom flags for just the sim, they can still run configure+make by hand in the sim subdir and use the normal CFLAGS settings.
Diffstat (limited to 'sim/common/acinclude.m4')
-rw-r--r--sim/common/acinclude.m415
1 files changed, 0 insertions, 15 deletions
diff --git a/sim/common/acinclude.m4 b/sim/common/acinclude.m4
index a746ca8..e11e568 100644
--- a/sim/common/acinclude.m4
+++ b/sim/common/acinclude.m4
@@ -133,21 +133,6 @@ dnl --enable-maintainer-mode.
AM_MAINTAINER_MODE
-AC_ARG_ENABLE(sim-cflags,
-[AS_HELP_STRING([--enable-sim-cflags=opts],
- [Extra CFLAGS for use in building simulator])],
-[case "${enableval}" in
- yes) sim_cflags="-O2 -fomit-frame-pointer";;
- trace) AC_MSG_ERROR("Please use --enable-sim-debug instead."); sim_cflags="";;
- no) sim_cflags="";;
- *) sim_cflags=`echo "${enableval}" | sed -e "s/,/ /g"`;;
-esac
-if test x"$silent" != x"yes" && test x"$sim_cflags" != x""; then
- echo "Setting sim cflags = $sim_cflags" 6>&1
-fi],[sim_cflags=""])dnl
-AC_SUBST(sim_cflags)
-
-
dnl --enable-sim-debug is for developers of the simulator
dnl the allowable values are work-in-progress
AC_ARG_ENABLE(sim-debug,