aboutsummaryrefslogtreecommitdiff
path: root/sim/common/sim-options.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2016-01-09 04:09:35 -0500
committerMike Frysinger <vapier@gentoo.org>2016-01-10 18:54:41 -0500
commitce39bd389039d99458950b072550ab52f0a07a34 (patch)
tree2bd4218fe7cc847322b73d613065a6825e49bcda /sim/common/sim-options.c
parente19418e02e25ae4c62eb95547220897fa6aaf2e0 (diff)
downloadbinutils-ce39bd389039d99458950b072550ab52f0a07a34.zip
binutils-ce39bd389039d99458950b072550ab52f0a07a34.tar.gz
binutils-ce39bd389039d99458950b072550ab52f0a07a34.tar.bz2
sim: move many common settings from CPPFLAGS to config.h
Rather than stuffing the command line with a bunch of -D flags, start moving things to config.h which is managed by autoheader. This makes the makefile a bit simpler and the build output tighter, and it makes the migration to automake easier as there are fewer vars to juggle. We'll want to move the other options out too, but it'll take more work.
Diffstat (limited to 'sim/common/sim-options.c')
-rw-r--r--sim/common/sim-options.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sim/common/sim-options.c b/sim/common/sim-options.c
index 7393554..54a8c43 100644
--- a/sim/common/sim-options.c
+++ b/sim/common/sim-options.c
@@ -119,14 +119,12 @@ static const OPTION standard_options[] =
'E', "big|little", "Set endianness",
standard_option_handler, NULL },
-#ifdef SIM_HAVE_ENVIRONMENT
/* This option isn't supported unless all choices are supported in keeping
with the goal of not printing in --help output things the simulator can't
do [as opposed to things that just haven't been configured in]. */
{ {"environment", required_argument, NULL, OPTION_ENVIRONMENT},
'\0', "user|virtual|operating", "Set running environment",
standard_option_handler },
-#endif
{ {"alignment", required_argument, NULL, OPTION_ALIGNMENT},
'\0', "strict|nonstrict|forced", "Set memory access alignment",