diff --git a/src/tools/borland.jam b/src/tools/borland.jam index 57798f0f7..6b7a5e5ef 100644 --- a/src/tools/borland.jam +++ b/src/tools/borland.jam @@ -63,9 +63,16 @@ flags borland.compile OPTIONS off : -Od ; flags borland.compile OPTIONS speed : -O2 ; flags borland.compile OPTIONS space : -O1 ; -flags borland CFLAGS off : -vi- ; -flags borland CFLAGS on : -vi -w-inl ; -flags borland CFLAGS full : -vi -w-inl ; +if $(.BORLAND_HAS_FIXED_INLINING_BUGS) +{ + flags borland CFLAGS off : -vi- ; + flags borland CFLAGS on : -vi -w-inl ; + flags borland CFLAGS full : -vi -w-inl ; +} +else +{ + flags borland CFLAGS : -vi- ; +} flags borland.compile OPTIONS off : -w- ; flags borland.compile OPTIONS all : -w ;