Ticket #977: patch-tools_jam_src_build.jam

File patch-tools_jam_src_build.jam, 492 bytes (added by barner@…, 15 years ago)

Build bjam with -fno-strict-aliasing (fixes build with gcc 4.2.0)

Line 
1--- tools/jam/src/build.jam.orig 2007-07-07 21:34:09.000000000 +0000
2+++ tools/jam/src/build.jam 2007-07-07 21:36:19.000000000 +0000
3@@ -153,7 +153,7 @@
4 ## GCC 2.x, 3.x, 4.x
5 toolset gcc gcc : "-o " : -D
6 : -pedantic
7- [ opt --release : [ opt --symbols : -g : -s ] -O3 ]
8+ [ opt --release : [ opt --symbols : -g : -s ] -O3 -fno-strict-aliasing ]
9 [ opt --debug : -g -O0 -fno-inline ]
10 -I$(--python-include) -Wno-long-long
11 : -L$(--python-lib[1]) -l$(--python-lib[2]) ;