[Bro-Dev] [JIRA] (BIT-1414) Make PIE option availalbe during compiling

Vlad Grigorescu (JIRA) jira at bro-tracker.atlassian.net
Mon Jun 15 15:09:01 PDT 2015


    [ https://bro-tracker.atlassian.net/browse/BIT-1414?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=21001#comment-21001 ] 

Vlad Grigorescu edited comment on BIT-1414 at 6/15/15 5:08 PM:
---------------------------------------------------------------

There are two compiler/linker flags you can use, fpic and pie. configure can take additional flags via env vars, so the only change you should need to make in your compilation process is:

{{CFLAGS="-fpic -pie" CXXFLAGS="-fpic -pie" ./configure}}


was (Author: grigorescu):
There are two compiler/linker flags you can use, fpic and pie. configure can take additional flags via env vars, so the only change you should need to make in your compilation process is:

{{ CFLAGS="-fpic -pie" CXXFLAGS="-fpic -pie" ./configure }}

> Make PIE option availalbe during compiling
> ------------------------------------------
>
>                 Key: BIT-1414
>                 URL: https://bro-tracker.atlassian.net/browse/BIT-1414
>             Project: Bro Issue Tracker
>          Issue Type: New Feature
>          Components: Bro
>    Affects Versions: 2.3
>         Environment: We would like to request PIE support be built in and available in the Bro binary.  
>            Reporter: Jeff
>




--
This message was sent by Atlassian JIRA
(v6.5-OD-05-041#65001)


More information about the bro-dev mailing list