]> git.pld-linux.org Git - packages/crossmingw32-boost.git/blame - crossmingw32-boost-win.patch
- rel 1 (builds, seems to work)
[packages/crossmingw32-boost.git] / crossmingw32-boost-win.patch
CommitLineData
a8d8c602
JB
1--- boost_1_35_0/tools/build/v2/util/os.jam.org 2007-06-16 15:29:24.717971888 +0200
2+++ boost_1_35_0/tools/build/v2/util/os.jam 2007-06-16 15:31:19.139516164 +0200
3@@ -129,22 +129,7 @@
cdf6c610 4 # Returns true if running on windows, whether in cygwin or not.
a8d8c602 5 rule on-windows ( )
cdf6c610
ŁK
6 {
7- local result ;
a8d8c602 8- if [ modules.peek : NT ]
cdf6c610
ŁK
9- {
10- result = true ;
11- }
a8d8c602 12- else if [ modules.peek : UNIX ]
cdf6c610 13- {
a8d8c602 14- switch [ modules.peek : JAMUNAME ]
cdf6c610
ŁK
15- {
16- case CYGWIN* :
17- {
18- result = true ;
19- }
20- }
21- }
22- return $(result) ;
23+ return true ;
24 }
5fc4cf3a 25
a8d8c602 26
8e7826ee
ŁK
27--- boost_1_36_0/tools/build/v2/tools/gcc.jam.orig 2008-07-15 13:53:41.000000000 +0000
28+++ boost_1_36_0/tools/build/v2/tools/gcc.jam 2008-08-22 22:16:56.279893472 +0000
29@@ -288,7 +288,7 @@
30
31 # Declare flags and action for compilation
32 flags gcc.compile OPTIONS <optimization>off : -O0 ;
33-flags gcc.compile OPTIONS <optimization>speed : -O3 ;
34+flags gcc.compile OPTIONS <optimization>speed : ;
35 flags gcc.compile OPTIONS <optimization>space : -Os ;
36
37 flags gcc.compile OPTIONS <inlining>off : -fno-inline ;
38@@ -329,7 +329,7 @@
a8d8c602
JB
39 # Yet another alternative would be to create propagated <sharedable>
40 # feature, and set it when building shared libraries, but that's hard to
41 # implement and will increase target path length even more.
cdf6c610
ŁK
42- flags gcc.compile OPTIONS <link>shared : -fPIC ;
43+ #flags gcc.compile OPTIONS <link>shared : -fPIC ;
a8d8c602 44 }
8e7826ee 45 if [ os.name ] != NT && [ os.name ] != OSF && [ os.name ] != HPUX && [ os.name ] != AIX
5fc4cf3a 46 {
8e7826ee
ŁK
47--- boost_1_36_0/tools/build/v2/tools/types/lib.jam.org 2007-11-15 16:31:06.000000000 +0000
48+++ boost_1_36_0/tools/build/v2/tools/types/lib.jam 2008-08-22 21:31:32.499955860 +0000
49@@ -18,12 +18,11 @@
50 type.set-generated-target-prefix STATIC_LIB : : lib ;
51
52 type IMPORT_LIB : : STATIC_LIB ;
53-type.set-generated-target-suffix IMPORT_LIB : : lib ;
54-type.set-generated-target-prefix IMPORT_LIB : : "" ;
55+type.set-generated-target-suffix IMPORT_LIB : : dll.a ;
56+type.set-generated-target-prefix IMPORT_LIB : : lib ;
cdf6c610 57
8e7826ee
ŁK
58-type SHARED_LIB : dll : LIB : NT CYGWIN ;
59-type SHARED_LIB : dylib : LIB : MACOSX ;
60-type SHARED_LIB : so : LIB ;
61+type SHARED_LIB : : LIB ;
62+type.set-generated-target-suffix SHARED_LIB : : dll ;
cdf6c610 63
8e7826ee
ŁK
64 type SEARCHED_LIB : : LIB ;
65 # This is needed so that when we create a target of SEARCHED_LIB
66--- boost_1_36_0/libs/math/build/Jamfile.v2.org 2008-08-22 14:35:44.643893747 +0000
67+++ boost_1_36_0/libs/math/build/Jamfile.v2 2008-08-22 14:36:11.767894179 +0000
68@@ -16,7 +16,6 @@
69 fmax
70 fmin
71 fpclassify
72-hypot
73 lgamma
74 llround
75 log1p
This page took 0.161414 seconds and 4 git commands to generate.