|
Boost-Build : |
Subject: [Boost-build] Dropping the 'inlining' feature
From: Vladimir Prus (vladimir.prus_at_[hidden])
Date: 2016-04-15 11:25:38
Building on latest OSX in release mode produces a pile of warnings like this:
darwin.compile.c++ bin.v2/libs/program_options/build/darwin-4.2.1/release/threading-multi/cmdline.o
clang: warning: optimization flag '-finline-functions' is not supported
since the build actually uses clang, which does not have this option. Of course, I can modify gcc.jam or darwin.jam
to try to detect the compiler, and omit this option for clang, but maybe a better course of action is just
never pass -finclude-functions to the compiler, as it was always pretty obscure option, and likely is no longer
of practical value.
Comments?
-- Vladimir Prus http://vladimirprus.com
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk