aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorAndris Pavenis <andris.pavenis@iki.fi>2016-01-12 20:36:00 +0200
committerAndris Pavenis <andris@gcc.gnu.org>2016-01-12 20:36:00 +0200
commit9e530bcd02a56888645c7cce2c70b54a59275ab7 (patch)
tree6cfaca46cb871317241aa699d513ed57574af53f /configure
parentba85c5fd8f17127d0c3cc4f784312994cebc54a3 (diff)
downloadgcc-9e530bcd02a56888645c7cce2c70b54a59275ab7.zip
gcc-9e530bcd02a56888645c7cce2c70b54a59275ab7.tar.gz
gcc-9e530bcd02a56888645c7cce2c70b54a59275ab7.tar.bz2
Enable LTO for DJGPP
* configure.ac: enable LTO * configure: Regenerate From-SVN: r232290
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index 19eb2a4..cae3373 100755
--- a/configure
+++ b/configure
@@ -6127,7 +6127,7 @@ if test $target_elf = yes; then :
else
if test x"$default_enable_lto" = x"yes" ; then
case $target in
- *-apple-darwin9* | *-cygwin* | *-mingw*) ;;
+ *-apple-darwin9* | *-cygwin* | *-mingw* | *djgpp*) ;;
# On other non-ELF platforms, LTO has yet to be validated.
*) enable_lto=no ;;
esac
@@ -6138,7 +6138,7 @@ else
# warn during gcc/ subconfigure; unless you're bootstrapping with
# -flto it won't be needed until after installation anyway.
case $target in
- *-cygwin* | *-mingw* | *-apple-darwin*) ;;
+ *-cygwin* | *-mingw* | *-apple-darwin* | *djgpp*) ;;
*) if test x"$enable_lto" = x"yes"; then
as_fn_error "LTO support is not enabled for this target." "$LINENO" 5
fi