[asterisk-bugs] [JIRA] (ASTERISK-24032) warning: "_FORTIFY_SOURCE" redefined

cloos (JIRA) noreply at issues.asterisk.org
Thu Jul 31 01:20:56 CDT 2014


    [ https://issues.asterisk.org/jira/browse/ASTERISK-24032?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=221087#comment-221087 ] 

cloos commented on ASTERISK-24032:
----------------------------------

The usual way around this is to unset _FORTIFY_SOURCE before setting it.

Ie, setting AST_FORTIFY_SOURCE to "U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2" instead of "-D_FORTIFY_SOURCE=2".


> warning: "_FORTIFY_SOURCE" redefined
> ------------------------------------
>
>                 Key: ASTERISK-24032
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-24032
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: General
>    Affects Versions: 11.11.0
>            Reporter: Kilburn
>            Assignee: Kilburn
>            Severity: Minor
>         Attachments: config.log, makeopts, makeopts.embed_rules, makeopts.in
>
>
> running make with asterisk 11.11.0, I get 
> <command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]
> Changelog show changes against ast 1.8 but do not know if this was carried over to ast 11.
> Thanks



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list