Add support for --enable-target-optspace to compile with -Os instead of -O2, and default m32r to use it
From-SVN: r19374
This commit is contained in:
parent
db4c1c3522
commit
3f4ea1dee8
|
@ -1,3 +1,10 @@
|
||||||
|
Wed Apr 22 12:30:10 1998 Michael Meissner <meissner@cygnus.com>
|
||||||
|
|
||||||
|
* configure.in (target_makefile_frag): If --enable-target-optspace,
|
||||||
|
use -Os to compile target libraries rather than -O2. Default to
|
||||||
|
using -Os for m32r if --{enable,disable}-target-optspace is not
|
||||||
|
used.
|
||||||
|
|
||||||
Tue Apr 14 11:33:51 1998 Krister Walfridsson <cato@df.lth.se>
|
Tue Apr 14 11:33:51 1998 Krister Walfridsson <cato@df.lth.se>
|
||||||
|
|
||||||
* configure: Define DEFAULT_M4 by searching PATH.
|
* configure: Define DEFAULT_M4 by searching PATH.
|
||||||
|
|
18
configure.in
18
configure.in
|
@ -311,6 +311,24 @@ case "${target}" in
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
# If --enable-target-optspace always use -Os instead of -O2 to build
|
||||||
|
# the target libraries, similarly if it is not specified, use -Os
|
||||||
|
# on selected platforms.
|
||||||
|
echo "---${enable_target_optspace}:${target}--" 1>&2
|
||||||
|
case "${enable_target_optspace}:${target}" in
|
||||||
|
yes:*)
|
||||||
|
target_makefile_frag="${target_makefile_frag} config/mt-ospace"
|
||||||
|
;;
|
||||||
|
:m32r-*)
|
||||||
|
target_makefile_frag="${target_makefile_frag} config/mt-ospace"
|
||||||
|
;;
|
||||||
|
no:* | :*)
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
skipdirs=
|
skipdirs=
|
||||||
gasdir=gas
|
gasdir=gas
|
||||||
use_gnu_ld=
|
use_gnu_ld=
|
||||||
|
|
Loading…
Reference in New Issue