forked from Imagelibrary/binutils-gdb
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.
This commit is contained in:
@@ -237,7 +237,8 @@ sim_config (SIM_DESC sd)
|
||||
}
|
||||
#endif
|
||||
if (STATE_ENVIRONMENT (sd) == ALL_ENVIRONMENT)
|
||||
STATE_ENVIRONMENT (sd) = DEFAULT_ENVIRONMENT;
|
||||
STATE_ENVIRONMENT (sd) = (WITH_ENVIRONMENT != ALL_ENVIRONMENT ?
|
||||
WITH_ENVIRONMENT : USER_ENVIRONMENT);
|
||||
|
||||
|
||||
/* set the alignment */
|
||||
|
||||
Reference in New Issue
Block a user