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:
@@ -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 ;
|
||||
|
||||
Reference in New Issue
Block a user