Re: Passing defines to b2 ?

Mateusz Loskot via Boost-build <[email protected]> Fri, 31 May 2019 11:48:19 +0200
Newsgroups gmane.comp.lib.boost.build
Message-ID <CABUeae8eH5JqkQd4bqXMBJg4hLRdORVjAYJqcW8N4TcdeYx=TQ@mail.gmail.com>
On Fri, 31 May 2019 at 11:44, Ken Moffat via Boost-build
<[email protected]> wrote:
>
> Now I'm looking at the first of the cheap hardening options (on gcc) :
> -D_FORTIFY_SOURCE=2 but b2 has a strong dislike of  -D.

b2 app optimization=full define=USE_ASM

see that example (and explanation) in this section
https://boostorg.github.io/build/manual/develop/index.html#bbv2.tutorial.libs

Best regards,
-- 
Mateusz Loskot, http://mateusz.loskot.net
_______________________________________________
Unsubscribe & other changes: https://lists.boost.org/mailman/listinfo.cgi/boost-build