2005-03-18 16:35:21 +00:00
|
|
|
*** tools/build/v1/gcc-tools.jam.orig 2005-03-18 09:58:30.227128264 -0600
|
|
|
|
--- tools/build/v1/gcc-tools.jam 2005-03-18 10:00:20.235025969 -0600
|
2004-11-30 02:24:44 +00:00
|
|
|
*************** flags gcc LINKFLAGS <runtime-link>static
|
|
|
|
*** 60,66 ****
|
|
|
|
flags gcc CFLAGS <debug-symbols>on : -g ;
|
|
|
|
flags gcc LINKFLAGS <debug-symbols>on : -g ;
|
|
|
|
flags gcc CFLAGS <optimization>off : -O0 ;
|
|
|
|
! flags gcc CFLAGS <optimization>speed : -O3 ;
|
2004-09-09 03:37:14 +00:00
|
|
|
|
2004-11-30 02:24:44 +00:00
|
|
|
# Other optimizations we might want for GCC
|
|
|
|
# -fforce-mem -fomit-frame-pointer
|
|
|
|
--- 60,66 ----
|
|
|
|
flags gcc CFLAGS <debug-symbols>on : -g ;
|
|
|
|
flags gcc LINKFLAGS <debug-symbols>on : -g ;
|
|
|
|
flags gcc CFLAGS <optimization>off : -O0 ;
|
|
|
|
! flags gcc CFLAGS <optimization>speed : -O2 ;
|
2004-09-09 03:37:14 +00:00
|
|
|
|
2004-11-30 02:24:44 +00:00
|
|
|
# Other optimizations we might want for GCC
|
|
|
|
# -fforce-mem -fomit-frame-pointer
|
2005-03-18 16:35:21 +00:00
|
|
|
*************** flags gcc FINDLIBS <find-library> ;
|
|
|
|
*** 352,357 ****
|
|
|
|
--- 352,358 ----
|
|
|
|
flags gcc DLLVERSION <dllversion> ;
|
|
|
|
DLLVERSION = $(DLLVERSION[1]) ;
|
|
|
|
DLLVERSION ?= $(BOOST_VERSION) ;
|
|
|
|
+ SONAMEVERSION = 1 ;
|
|
|
|
|
|
|
|
flags gcc TARGET_TYPE <target-type> ;
|
|
|
|
|
|
|
|
*************** rule Link-action
|
|
|
|
*** 387,393 ****
|
|
|
|
if $(DLLVERSION) && $(TARGET_TYPE) in $(SHARED_TYPES) && ( $(OS) = LINUX || $(OS) = OPENBSD ) && ! $(NO_GNU_LN)
|
|
|
|
{
|
|
|
|
OUTTAG on $(<) = ".$(DLLVERSION)" ;
|
|
|
|
! SOTAG on $(<) = ".$(DLLVERSION)" ;
|
|
|
|
ACTION_1 on $(<) = "" ;
|
|
|
|
}
|
|
|
|
else
|
|
|
|
--- 388,394 ----
|
|
|
|
if $(DLLVERSION) && $(TARGET_TYPE) in $(SHARED_TYPES) && ( $(OS) = LINUX || $(OS) = OPENBSD ) && ! $(NO_GNU_LN)
|
|
|
|
{
|
|
|
|
OUTTAG on $(<) = ".$(DLLVERSION)" ;
|
|
|
|
! SOTAG on $(<) = ".$(SONAMEVERSION)" ;
|
|
|
|
ACTION_1 on $(<) = "" ;
|
|
|
|
}
|
|
|
|
else
|