]> 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:32:25 +0000 (22:32 +0000)
committerMatthew Jordan <mjordan@digium.com>
Sun, 17 Aug 2014 22:32:25 +0000 (22:32 +0000)
commit1969d911fee3e03d469f7a0a18cdd4bfa799fcaf
treea09608e3babb1a9b7826700dda0ef8bfade96cac
parent252ead3b132f62c1e97bc7657b4a720c4a33ec5a
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

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