New commits:
commit bb2c85e517ee71b6ce602b0af6c72ab13d19fe39
Author: Eric Sandall <sandalle AT sourcemage.org>
Commit: Eric Sandall <sandalle AT sourcemage.org>
jam: Fix compilation with gcc 4.2 (Bug #14145)
diff --git a/devel/jam/HISTORY b/devel/jam/HISTORY
index 2b44f95..f97291b 100644
--- a/devel/jam/HISTORY
+++ b/devel/jam/HISTORY
@@ -1,3 +1,7 @@
+2007-11-29 Eric Sandall <sandalle AT sourcemage.org>
+ * PRE_BUILD: Fix compilation with gcc 4.2 (Bug #14145)
+ See http://maillist.perforce.com/pipermail/jamming/2007-May/002913.html
+
2007-01-20 Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
* DEPENDS: added dependency on bison
* BUILD: added make_single before make to fix a compile error,
diff --git a/devel/jam/PRE_BUILD b/devel/jam/PRE_BUILD
index 01e5c77..43639b0 100755
--- a/devel/jam/PRE_BUILD
+++ b/devel/jam/PRE_BUILD
@@ -1,6 +1,7 @@
mk_source_dir $SOURCE_DIRECTORY &&
cd $SOURCE_DIRECTORY &&
unpack_file &&
+CFLAGS="-fno-strict-aliasing $CFLAGS" &&
sedit "s:CFLAGS =:CFLAGS = ${CFLAGS}:" Makefile &&
sedit "s:(CFLAGS):(CFLAGS) ${LDFLAGS}:" Makefile &&
sedit "s:CCFLAGS +=:CCFLAGS += ${CFLAGS}:g" Jamfile &&
[SM-Commit] GIT changes to master grimoire by Eric Sandall (bb2c85e517ee71b6ce602b0af6c72ab13d19fe39),
Eric Sandall, 11/29/2007