diff options
author | Eric Hameleers <alien@slackware.com> | 2007-09-04 12:31:25 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2007-09-04 12:31:25 +0000 |
commit | 18e38ad4a1c55e75bd7ce764f505786557b81e7b (patch) | |
tree | 7852857a39ea45afaaddc6cf8dd7f0511baf6b11 /boost | |
parent | 9bea5930fb3b8b5a01d8192786bf4999fb0d4f01 (diff) | |
download | asb-18e38ad4a1c55e75bd7ce764f505786557b81e7b.tar.gz asb-18e38ad4a1c55e75bd7ce764f505786557b81e7b.tar.xz |
Initial revision
Diffstat (limited to 'boost')
-rw-r--r-- | boost/build/boost_bjam-gcc42.patch | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/boost/build/boost_bjam-gcc42.patch b/boost/build/boost_bjam-gcc42.patch new file mode 100644 index 00000000..b8625c22 --- /dev/null +++ b/boost/build/boost_bjam-gcc42.patch @@ -0,0 +1,45 @@ +Index: Jamfile.v2 +--- Jamfile.v2.orig 2007-05-11 05:40:34 +0200 ++++ Jamfile.v2 2007-06-17 12:43:12 +0200 +@@ -112,12 +112,12 @@ + default-build = + debug release + <threading>single <threading>multi +- <link>shared <link>static ++ <link>static + ; + + if [ os.name ] = NT + { +- default-build += <runtime-link>shared <runtime-link>static ; ++ default-build += <runtime-link>static ; + } + } + else + +Workaround for "bjam crashes when compiled with gcc 4.2" http://svn.boost.org/trac/boost/ticket/977 +Index: tools/jam/src/build.sh +--- tools/jam/src/build.sh.orig 2006-02-03 17:57:42 +0100 ++++ tools/jam/src/build.sh 2007-06-17 13:54:31 +0200 +@@ -127,7 +127,7 @@ + ;; + + gcc) +- BOOST_JAM_CC=gcc ++ BOOST_JAM_CC="gcc -O0" + ;; + + darwin) +Index: tools/jam/src/build.jam +--- tools/jam/src/build.jam.orig 2007-06-17 14:07:34 +0200 ++++ tools/jam/src/build.jam 2007-06-17 14:08:21 +0200 +@@ -153,7 +153,7 @@ + ## GCC 2.x, 3.x, 4.x + toolset gcc gcc : "-o " : -D + : -pedantic +- [ opt --release : [ opt --symbols : -g : -s ] -O3 ] ++ [ opt --release : [ opt --symbols : -g : -s ] -O0 ] + [ opt --debug : -g -O0 -fno-inline ] + -I$(--python-include) -Wno-long-long + : -L$(--python-lib[1]) -l$(--python-lib[2]) ; + |