mirror of
https://git.freebsd.org/ports.git
synced 2025-07-09 05:19:16 -04:00
- Fixes build on 7/amd64 (gcc 4.2.0) - Note: this only affects the build of the bjam tool, the libraries are build with the user's CXXFLAGS settings Reported by: trasz@ "Matthew D. Fuller" <fullermd@over-yonder.net> Pascal Hofstee <caelian@gmail.com> Obtained from: http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=22;filename=boost.diff;att=1;bug=367825 (only the -fno-strict-aliasing part) via http://svn.boost.org/trac/boost/ticket/977
11 lines
492 B
Text
11 lines
492 B
Text
--- tools/jam/src/build.jam.orig 2007-07-07 21:34:09.000000000 +0000
|
|
+++ tools/jam/src/build.jam 2007-07-07 21:36:19.000000000 +0000
|
|
@@ -153,7 +153,7 @@
|
|
## GCC 2.x, 3.x, 4.x
|
|
toolset gcc gcc : "-o " : -D
|
|
: -pedantic
|
|
- [ opt --release : [ opt --symbols : -g : -s ] -O3 ]
|
|
+ [ opt --release : [ opt --symbols : -g : -s ] -O3 -fno-strict-aliasing ]
|
|
[ opt --debug : -g -O0 -fno-inline ]
|
|
-I$(--python-include) -Wno-long-long
|
|
: -L$(--python-lib[1]) -l$(--python-lib[2]) ;
|