diff options
author | Mike Frysinger <vapier@gentoo.org> | 2016-01-09 04:00:53 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2016-01-10 02:54:59 -0500 |
commit | 22be3fbeaccf50e3c0f58d0f7e9f7ed77effeaab (patch) | |
tree | bb7933fd15e5c4c05fd24fa3c1e01197789f8a89 /sim/moxie | |
parent | 7124407794aaa3762a25c26cd3a00a637f7241c9 (diff) | |
download | gdb-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/moxie')
-rw-r--r-- | sim/moxie/ChangeLog | 6 | ||||
-rw-r--r-- | sim/moxie/Makefile.in | 2 | ||||
-rwxr-xr-x | sim/moxie/configure | 25 |
3 files changed, 9 insertions, 24 deletions
diff --git a/sim/moxie/ChangeLog b/sim/moxie/ChangeLog index b2fcfb5..beaff02 100644 --- a/sim/moxie/ChangeLog +++ b/sim/moxie/ChangeLog @@ -1,3 +1,9 @@ +2016-01-10 Mike Frysinger <vapier@gentoo.org> + + * configure: Regenerate. + * Makefile.in (SIM_CFLAGS): Rename to ... + (SIM_EXTRA_CFLAGS): ... this. + 2016-01-09 Mike Frysinger <vapier@gentoo.org> * config.in, configure: Regenerate. diff --git a/sim/moxie/Makefile.in b/sim/moxie/Makefile.in index 25eab0f..fd967a8 100644 --- a/sim/moxie/Makefile.in +++ b/sim/moxie/Makefile.in @@ -26,7 +26,7 @@ SIM_OBJS = \ SIM_EXTRA_LIBS = -lm -lz SIM_EXTRA_INSTALL = install-dtb -SIM_CFLAGS = -DDTB="\"$(dtbdir)/moxie-gdb.dtb\"" +SIM_EXTRA_CFLAGS = -DDTB="\"$(dtbdir)/moxie-gdb.dtb\"" ## COMMON_POST_CONFIG_FRAG diff --git a/sim/moxie/configure b/sim/moxie/configure index dc1ffd1..802f589 100755 --- a/sim/moxie/configure +++ b/sim/moxie/configure @@ -609,7 +609,6 @@ sim_profile sim_trace sim_stdio sim_debug -sim_cflags MAINT MAINTAINER_MODE_FALSE MAINTAINER_MODE_TRUE @@ -752,7 +751,6 @@ enable_fast_install with_gnu_ld enable_libtool_lock enable_maintainer_mode -enable_sim_cflags enable_sim_debug enable_sim_stdio enable_sim_trace @@ -1402,8 +1400,6 @@ Optional Features: --disable-libtool-lock avoid locking (might break parallel builds) --enable-maintainer-mode enable make rules and dependencies not useful (and sometimes confusing) to the casual installer - --enable-sim-cflags=opts - Extra CFLAGS for use in building simulator --enable-sim-debug=opts Enable debugging flags (for developers of the sim itself) --enable-sim-stdio Specify whether to use stdio for console @@ -12862,7 +12858,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12865 "configure" +#line 12861 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -12968,7 +12964,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12971 "configure" +#line 12967 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -13236,23 +13232,6 @@ fi -# Check whether --enable-sim-cflags was given. -if test "${enable_sim_cflags+set}" = set; then : - enableval=$enable_sim_cflags; case "${enableval}" in - yes) sim_cflags="-O2 -fomit-frame-pointer";; - trace) as_fn_error "\"Please use --enable-sim-debug instead.\"" "$LINENO" 5; 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 -else - sim_cflags="" -fi - - - # Check whether --enable-sim-debug was given. if test "${enable_sim_debug+set}" = set; then : enableval=$enable_sim_debug; case "${enableval}" in |