diff options
author | Michael Meissner <gnu@the-meissners.org> | 1998-04-22 16:32:24 +0000 |
---|---|---|
committer | Michael Meissner <gnu@the-meissners.org> | 1998-04-22 16:32:24 +0000 |
commit | bcb92b02a4c144545b4d01352a5b54cdee5c186d (patch) | |
tree | f6bad4c0b83027f8570c3eb5d81e53caee139f08 /configure.in | |
parent | b9bd8aa8798ad9a662b18d2f9d8199323901b7f5 (diff) | |
download | gdb-bcb92b02a4c144545b4d01352a5b54cdee5c186d.zip gdb-bcb92b02a4c144545b4d01352a5b54cdee5c186d.tar.gz gdb-bcb92b02a4c144545b4d01352a5b54cdee5c186d.tar.bz2 |
Add support for --enable-target-optspace to compile with -Os instead of -O2, and default d30v, d10v, m32r to use it
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/configure.in b/configure.in index fbf5f55..e95af52 100644 --- a/configure.in +++ b/configure.in @@ -330,6 +330,28 @@ case "${target}" in ;; 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. +case "${enable_target_optspace}:${target}" in + yes:*) + target_makefile_frag="${target_makefile_frag} config/mt-ospace" + ;; + :m32r-* | :d10v-*) + target_makefile_frag="${target_makefile_frag} config/mt-ospace" + ;; +# start-sanitize-d30v + :d30v-*-*) + target_makefile_frag="${target_makefile_frag} config/mt-ospace" + ;; +# end-sanitize-d30v + no:*) + ;; + *) + echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2 + ;; +esac + skipdirs= gasdir=gas use_gnu_ld= |