boost: compiles with gcc-4.2
svn path=/nixpkgs/branches/stdenv-updates/; revision=9945
This commit is contained in:
parent
0c8d30be0f
commit
f1f13ef432
@ -10,5 +10,6 @@ stdenv.mkDerivation {
|
||||
preConfigure="
|
||||
sed -e 's@^BJAM_CONFIG=\"\"@BJAM_CONFIG=\"--layout=system release threading=multi link=shared\"@g' -i configure
|
||||
";
|
||||
patches = [./gcc-4.2.patch];
|
||||
configureFlags="--with-icu=${icu}";
|
||||
}
|
||||
|
11
pkgs/development/libraries/boost/gcc-4.2.patch
Normal file
11
pkgs/development/libraries/boost/gcc-4.2.patch
Normal file
@ -0,0 +1,11 @@
|
||||
Index: trunk/tools/jam/src/build.jam
|
||||
===================================================================
|
||||
--- trunk/tools/jam/src/build.jam (revision 40095)
|
||||
+++ trunk/tools/jam/src/build.jam (revision 41036)
|
||||
@@ -176,5 +176,5 @@
|
||||
## GCC 2.x, 3.x, 4.x
|
||||
toolset gcc gcc : "-o " : -D
|
||||
- : -pedantic
|
||||
+ : -pedantic -fno-strict-aliasing
|
||||
[ opt --release : [ opt --symbols : -g : -s ] -O3 ]
|
||||
[ opt --debug : -g -O0 -fno-inline ]
|
Loading…
Reference in New Issue
Block a user