freebsd-ports/devel/boost/files/patch-tools::build::v1::gcc-tools.jam
Ying-Chieh Liao 7baacd2bb2 upgrade to 1.31.0
- builds the most recent boost version (1.31.0)
 - respects PTHREAD_{CFLAGS, LIBS} (credits for the PTHREAD_LIBS part
   go to Craig Rodrigues <rodrigc@crodrigues.org>)
 - builds all boost libraries
 - installs docs into DOCSDIR, and examples into EXAMPLESDIR (as
   before), but the hyperlinks to the example files are corrected (pls.
   report if you find some broken links)
 - has new various tunable options, such as
    o WITH_DEBUG
    o WITHOUT_THREAD
    o WITH_OPTIMIZED_CFLAGS
    o VERBOSE_BUILD
 - forced major numbers for shared libraries (everything defaults to
   .so.1, and is symlinked to .so)
 - installs the possible versions of the libraries (w/ or w/o
   debugging or threading support) with the same suffix- and prefix-less
   name, e.g. instead of libboost_filesystem-gcc-debug-s.so.1 (the gcc toolset,
   debugging info and single threaded) and
   libboost_filesystem-gcc-m.so.1 (gcc toolset, release version, multi
   threaded), there now is only libboost_filesystem.so.1.

PR:		63100
Submitted by:	maintainer
2004-02-20 05:32:21 +00:00

22 lines
829 B
Text

--- tools/build/v1/gcc-tools.jam.orig Thu Jan 22 05:11:52 2004
+++ tools/build/v1/gcc-tools.jam Wed Feb 18 12:57:30 2004
@@ -61,7 +61,7 @@
flags gcc LINKFLAGS <runtime-link>static : -static ;
flags gcc CFLAGS <debug-symbols>on : -g ;
flags gcc LINKFLAGS <debug-symbols>on : -g ;
-flags gcc CFLAGS <optimization>off : -O0 ;
+flags gcc CFLAGS <optimization>off : ;
flags gcc CFLAGS <optimization>speed : -O3 ;
# Other optimizations we might want for GCC
@@ -125,8 +125,8 @@
}
case *BSD :
{
- flags gcc CFLAGS <threading>multi : -pthread ;
- flags gcc LINKFLAGS <threading>multi : -pthread ;
+ flags gcc CFLAGS <threading>multi : %%PTHREAD_CFLAGS%% ;
+ flags gcc LINKFLAGS <threading>multi : %%PTHREAD_LIBS%% ;
# there is no -lrt on BSD
}
case IRIX :