]> git.ipfire.org Git - thirdparty/asterisk.git/commit
configure: Undefine FORTIFY_SOURCE prior to defining it for patched gcc
authorMatthew Jordan <mjordan@digium.com>
Sun, 17 Aug 2014 22:34:19 +0000 (22:34 +0000)
committerMatthew Jordan <mjordan@digium.com>
Sun, 17 Aug 2014 22:34:19 +0000 (22:34 +0000)
commit524cb990a3b57ee856504d4bdfd80923405f7506
tree9148c3e162fb765f29a09cb69e13c60ba4a20c58
parent66fb08e26da2071dcce6cf13cb319cf9474664fa
configure: Undefine FORTIFY_SOURCE prior to defining it for patched gcc

Some distributions of Linux patch gcc to define FORTIFY_SOURCE when gcc is
executed with optimization. This "help" unfortunately results in re-definition
warnings when FORTIFY_SOURCE is later defined in Asterisk's build system. This
patch undefines FORTIFY_SOURCE prior to defining it to prevent this warning.

Review: https://reviewboard.asterisk.org/r/3912/

ASTERISK-24032 #close
Reported by: Kilburn
Tested by: Kilburn, wdoekes
patches:
  1.8.diff uploaded by cloos (License 5956)
  10.diff uploaded by cloos (License 5956)
  11.diff uploaded by cloos (License 5956)
  12.diff uploaded by cloos (License 5956)
  13.diff uploaded by cloos (License 5956)
........

Merged revisions 421227 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 421228 from http://svn.asterisk.org/svn/asterisk/branches/11
........

Merged revisions 421229 from http://svn.asterisk.org/svn/asterisk/branches/12

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/13@421230 65c4cc65-6c06-0410-ace0-fbb531ad65f3
configure
configure.ac