diff options
| author | Paul Eggert | 2012-10-23 12:39:36 -0700 |
|---|---|---|
| committer | Paul Eggert | 2012-10-23 12:39:36 -0700 |
| commit | 7f8de58ca53c6a4f0844b244af2437b6d058723e (patch) | |
| tree | 7e81ce82298870b5c6ed025561947e5c24c6066a | |
| parent | c79825bd22f07399351d626fbc8060941aba36a5 (diff) | |
| download | emacs-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-- | ChangeLog | 6 | ||||
| -rw-r--r-- | configure.ac | 2 |
2 files changed, 7 insertions, 1 deletions
| @@ -1,3 +1,9 @@ | |||
| 1 | 2012-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 | |||
| 1 | 2012-10-23 Glenn Morris <rgm@gnu.org> | 7 | 2012-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 | ]) |