-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/3664/#review12267
-----------------------------------------------------------

Ship it!


Ship It!

- Matt Jordan


On June 21, 2014, 2:48 p.m., George Joseph wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/3664/
> -----------------------------------------------------------
> 
> (Updated June 21, 2014, 2:48 p.m.)
> 
> 
> Review request for Asterisk Developers.
> 
> 
> Repository: Asterisk
> 
> 
> Description
> -------
> 
> AST_FORTIFY_SOURCE is automatically set in ./Makefile even if DONT_OPTIMIZE 
> is set in menuselect.  This causes gcc to complain that _FORTIFY_SOURCE 
> requires optimization.  You can specify "make AST_FORTIFY_SOURCE=''" but I 
> always forget.
> 
> This patch moves the set of AST_FORTIFY_SOURCE to Makefile.rules and only 
> sets it if DONT_OPTIMIZE is "no".  The move is necessary because the 
> top-level Makefile doesn't include menuselect.makeopts.
> 
> This doesn't solve the entire problem however because res_config_mysql seems 
> to force _FORTIFY_SOURCE so res_config_mysql has to be disabled for now if 
> DONT_OPTIMIZE is set.  
> 
> 
> Diffs
> -----
> 
>   branches/12/Makefile.rules 416992 
>   branches/12/Makefile 416992 
> 
> Diff: https://reviewboard.asterisk.org/r/3664/diff/
> 
> 
> Testing
> -------
> 
> Tested compile both with and without the optimize flag set and insured that 
> the proper combination of _FORTIFY_SOURCE and -O were set.
> 
> 
> Thanks,
> 
> George Joseph
> 
>

-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev

Reply via email to