Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
9e530bcd
Commit
9e530bcd
authored
Jan 12, 2016
by
Andris Pavenis
Committed by
Andris Pavenis
Jan 12, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable LTO for DJGPP
* configure.ac: enable LTO * configure: Regenerate From-SVN: r232290
parent
ba85c5fd
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
5 deletions
+10
-5
ChangeLog
+5
-0
configure
+2
-2
configure.ac
+3
-3
No files found.
ChangeLog
View file @
9e530bcd
2016-01-12 Andris Pavenis <andris.pavenis@iki.fi>
* configure.ac: Enable LTO for DJGPP
* configure: Regenerate
2016-01-12 H.J. Lu <hongjiu.lu@intel.com>
Sync with binutils-gdb:
...
...
configure
View file @
9e530bcd
...
...
@@ -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
...
...
configure.ac
View file @
9e530bcd
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
# 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012,
# 2014, 2015 Free Software Foundation, Inc.
# 2014, 2015
, 2016
Free Software Foundation, Inc.
#
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
...
...
@@ -1817,7 +1817,7 @@ ACX_ELF_TARGET_IFELSE([# ELF platforms build the lto-plugin always.
build_lto_plugin=yes
],[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
...
...
@@ -1828,7 +1828,7 @@ ACX_ELF_TARGET_IFELSE([# ELF platforms build the lto-plugin always.
# 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
AC_MSG_ERROR([LTO support is not enabled for this target.])
fi
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment