nixpkgs/pkgs/development/libraries/boost/gcc-4.2.patch
Yury G. Kudryashov f1f13ef432 boost: compiles with gcc-4.2
svn path=/nixpkgs/branches/stdenv-updates/; revision=9945
2007-12-15 23:45:53 +00:00

12 lines
444 B
Diff

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 ]