2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-15 00:52:16 +00:00

Turn the ability observe Borland's inlining bugs back on.

[SVN r31479]
This commit is contained in:
Dave Abrahams
2005-10-26 12:07:24 +00:00
parent ccb5d9d0d1
commit a4b166d05a

View File

@@ -32,7 +32,12 @@ flags borland CFLAGS <optimization>off : -Od ;
flags borland CFLAGS <optimization>speed : -O2 ;
flags borland CFLAGS <optimization>space : -O1 ;
if $(.BORLAND_HAS_FIXED_INLINING_BUGS)
# Borland has inlining bugs that affect destructors
# (http://lists.boost.org/boost-testing/2005/10/2079.php). Define
# this variable to force inlining for Borland to always be shut off.
# We decided it was a bad idea to do it by default, because it would
# hide bugs that users would see.
if ! $(.BORLAND_INLINING_BUG_BRUTE_FORCE_WORKAROUND)
{
flags borland CFLAGS <inlining>off : -vi- ;
flags borland CFLAGS <inlining>on : -vi -w-inl ;