]> git.pld-linux.org Git - packages/crossmingw32-boost.git/blob - crossmingw32-boost-win.patch
- rel 1 (builds, seems to work)
[packages/crossmingw32-boost.git] / crossmingw32-boost-win.patch
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 @@
4  # Returns true if running on windows, whether in cygwin or not.
5  rule on-windows ( )
6  {
7 -    local result ;
8 -    if [ modules.peek : NT ]
9 -    {
10 -        result = true ;
11 -    }
12 -    else if [ modules.peek : UNIX ]
13 -    {
14 -        switch [ modules.peek : JAMUNAME ]
15 -        {
16 -            case CYGWIN* :
17 -            {
18 -                result = true ;
19 -            }
20 -        }
21 -    }
22 -    return $(result) ;
23 +    return true ;
24  }
25  
26  
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 @@
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.
42 -    flags gcc.compile OPTIONS <link>shared : -fPIC ;
43 +    #flags gcc.compile OPTIONS <link>shared : -fPIC ;
44  }
45  if [ os.name ] != NT && [ os.name ] != OSF && [ os.name ] != HPUX && [ os.name ] != AIX
46  {
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 ;
57  
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 ;
63  
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.079855 seconds and 3 git commands to generate.