[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs-24 r117264: Port to GCC 4.9.0 with link time optimiz
From: |
Paul Eggert |
Subject: |
[Emacs-diffs] emacs-24 r117264: Port to GCC 4.9.0 with link time optimization. |
Date: |
Fri, 20 Jun 2014 06:07:51 +0000 |
User-agent: |
Bazaar (2.6b2) |
------------------------------------------------------------
revno: 117264
revision-id: address@hidden
parent: address@hidden
fixes bug: http://debbugs.gnu.org/17806
committer: Paul Eggert <address@hidden>
branch nick: emacs-24
timestamp: Thu 2014-06-19 23:07:47 -0700
message:
Port to GCC 4.9.0 with link time optimization.
* configure.ac (CFLAGS): With link time optimization,
use -ffat-lto-objects if supported; otherwise Emacs won't
build with GCC 4.9.0.
modified:
ChangeLog changelog-20091113204419-o5vbwnq5f7feedwu-1538
configure.ac
configure.in-20091113204419-o5vbwnq5f7feedwu-783
=== modified file 'ChangeLog'
--- a/ChangeLog 2014-06-14 20:24:08 +0000
+++ b/ChangeLog 2014-06-20 06:07:47 +0000
@@ -1,3 +1,10 @@
+2014-06-20 Paul Eggert <address@hidden>
+
+ Port to GCC 4.9.0 with link time optimization (Bug#17806).
+ * configure.ac (CFLAGS): With link time optimization,
+ use -ffat-lto-objects if supported; otherwise Emacs won't
+ build with GCC 4.9.0.
+
2014-06-14 Paul Eggert <address@hidden>
Port part of the AIX fix to Solaris (Bug#17598).
=== modified file 'configure.ac'
--- a/configure.ac 2014-06-14 20:24:08 +0000
+++ b/configure.ac 2014-06-20 06:07:47 +0000
@@ -777,6 +777,12 @@
AC_MSG_RESULT([$ac_lto_supported])
if test "$ac_lto_supported" = "yes"; then
CFLAGS="$CFLAGS $LTO"
+ dnl The following is needed for GCC 4.9.0. The GCC 4.9.0 release notes
+ dnl suggest that instead of -ffat-lto-objects we should use gcc-ar and
+ dnl gcc-ranlib in place of ar and ranlib, but gcc-ar makes /usr/bin/ar
+ dnl dump core on Fedora 20, so play it safe for now.
+ gl_COMPILER_OPTION_IF([-ffat-lto-objects],
+ [CFLAGS="$CFLAGS -ffat-lto-objects"])
fi
fi)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] emacs-24 r117264: Port to GCC 4.9.0 with link time optimization.,
Paul Eggert <=