aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggert2012-10-23 12:39:36 -0700
committerPaul Eggert2012-10-23 12:39:36 -0700
commit7f8de58ca53c6a4f0844b244af2437b6d058723e (patch)
tree7e81ce82298870b5c6ed025561947e5c24c6066a
parentc79825bd22f07399351d626fbc8060941aba36a5 (diff)
downloademacs-7f8de58ca53c6a4f0844b244af2437b6d058723e.tar.gz
emacs-7f8de58ca53c6a4f0844b244af2437b6d058723e.zip
* configure.ac (_FORTIFY_SOURCE): Do not multiply define.
This ports to Gentoo. Problem originally reported against coreutils, but Emacs has it too. Fixes: debbugs:12714
-rw-r--r--ChangeLog6
-rw-r--r--configure.ac2
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 1a2a80fe39c..1d30382d34d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
12012-10-23 Paul Eggert <eggert@cs.ucla.edu>
2
3 * configure.ac (_FORTIFY_SOURCE): Do not multiply define (Bug#12714).
4 This ports to Gentoo. Problem originally reported against coreutils,
5 but Emacs has it too.
6
12012-10-23 Glenn Morris <rgm@gnu.org> 72012-10-23 Glenn Morris <rgm@gnu.org>
2 8
3 * Makefile.in (emacs_transform): Remove. 9 * Makefile.in (emacs_transform): Remove.
diff --git a/configure.ac b/configure.ac
index 7104b9de170..4564bc3085e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -743,7 +743,7 @@ else
743 AH_VERBATIM([FORTIFY_SOURCE], 743 AH_VERBATIM([FORTIFY_SOURCE],
744 [/* Enable compile-time and run-time bounds-checking, and some warnings, 744 [/* Enable compile-time and run-time bounds-checking, and some warnings,
745 without upsetting glibc 2.15+. */ 745 without upsetting glibc 2.15+. */
746 #if defined __OPTIMIZE__ && __OPTIMIZE__ 746 #if !defined _FORTIFY_SOURCE && defined __OPTIMIZE__ && __OPTIMIZE__
747 # define _FORTIFY_SOURCE 2 747 # define _FORTIFY_SOURCE 2
748 #endif 748 #endif
749 ]) 749 ])