mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-23 10:34:07 +00:00
* 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
This commit is contained in:
parent
c79825bd22
commit
7f8de58ca5
@ -1,3 +1,9 @@
|
||||
2012-10-23 Paul Eggert <eggert@cs.ucla.edu>
|
||||
|
||||
* configure.ac (_FORTIFY_SOURCE): Do not multiply define (Bug#12714).
|
||||
This ports to Gentoo. Problem originally reported against coreutils,
|
||||
but Emacs has it too.
|
||||
|
||||
2012-10-23 Glenn Morris <rgm@gnu.org>
|
||||
|
||||
* Makefile.in (emacs_transform): Remove.
|
||||
|
@ -743,7 +743,7 @@ else
|
||||
AH_VERBATIM([FORTIFY_SOURCE],
|
||||
[/* Enable compile-time and run-time bounds-checking, and some warnings,
|
||||
without upsetting glibc 2.15+. */
|
||||
#if defined __OPTIMIZE__ && __OPTIMIZE__
|
||||
#if !defined _FORTIFY_SOURCE && defined __OPTIMIZE__ && __OPTIMIZE__
|
||||
# define _FORTIFY_SOURCE 2
|
||||
#endif
|
||||
])
|
||||
|
Loading…
Reference in New Issue
Block a user