aboutsummaryrefslogtreecommitdiffstats
path: root/devel/boost
diff options
context:
space:
mode:
authorbarner <barner@FreeBSD.org>2007-07-08 06:31:03 +0800
committerbarner <barner@FreeBSD.org>2007-07-08 06:31:03 +0800
commit0d9f8f6c2a14e4208d863143776ed48b783ad415 (patch)
tree6f5954e15911c0ca2da558438cdd6b1b9c575a45 /devel/boost
parent6e11493c05cb8f3d38fa85a4396d0ea52d66067e (diff)
downloadfreebsd-ports-graphics-0d9f8f6c2a14e4208d863143776ed48b783ad415.tar.gz
freebsd-ports-graphics-0d9f8f6c2a14e4208d863143776ed48b783ad415.tar.zst
freebsd-ports-graphics-0d9f8f6c2a14e4208d863143776ed48b783ad415.zip
Build bjam tool with -fno-strict-aliasing:
- 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
Diffstat (limited to 'devel/boost')
-rw-r--r--devel/boost/files/patch-tools_jam_src_build.jam11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/boost/files/patch-tools_jam_src_build.jam b/devel/boost/files/patch-tools_jam_src_build.jam
new file mode 100644
index 00000000000..aa8e7163c6f
--- /dev/null
+++ b/devel/boost/files/patch-tools_jam_src_build.jam
@@ -0,0 +1,11 @@
+--- 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]) ;