mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-06 14:49:38 +08:00
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.
This commit is contained in:
25
sim/arm/configure
vendored
25
sim/arm/configure
vendored
@ -608,7 +608,6 @@ sim_profile
|
||||
sim_trace
|
||||
sim_stdio
|
||||
sim_debug
|
||||
sim_cflags
|
||||
MAINT
|
||||
MAINTAINER_MODE_FALSE
|
||||
MAINTAINER_MODE_TRUE
|
||||
@ -751,7 +750,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
|
||||
@ -1401,8 +1399,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
|
||||
@ -12861,7 +12857,7 @@ else
|
||||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||
lt_status=$lt_dlunknown
|
||||
cat > conftest.$ac_ext <<_LT_EOF
|
||||
#line 12864 "configure"
|
||||
#line 12860 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#if HAVE_DLFCN_H
|
||||
@ -12967,7 +12963,7 @@ else
|
||||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||
lt_status=$lt_dlunknown
|
||||
cat > conftest.$ac_ext <<_LT_EOF
|
||||
#line 12970 "configure"
|
||||
#line 12966 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#if HAVE_DLFCN_H
|
||||
@ -13235,23 +13231,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
|
||||
|
Reference in New Issue
Block a user