diff options
author | Florian Franzmann | 2011-01-25 21:06:58 +0100 |
---|---|---|
committer | Florian Franzmann | 2011-01-25 21:06:58 +0100 |
commit | 25c395d4fac132afcad83f5707ead2647983a23c (patch) | |
tree | 222eb3567e235e38c1761c5d196261fc1b45d97a /archive-libs/zlib | |
parent | a864a79b69f66d637f562c7a579c6bdb02d4d422 (diff) |
archive-libs/zlib: set CFLAGS to avoid segfault in firefox
Diffstat (limited to 'archive-libs/zlib')
-rwxr-xr-x | archive-libs/zlib/BUILD | 3 | ||||
-rw-r--r-- | archive-libs/zlib/HISTORY | 3 |
2 files changed, 5 insertions, 1 deletions
diff --git a/archive-libs/zlib/BUILD b/archive-libs/zlib/BUILD index 67c31e637f..d971d4e5a8 100755 --- a/archive-libs/zlib/BUILD +++ b/archive-libs/zlib/BUILD @@ -1,6 +1,7 @@ OPTS="--eprefix=$INSTALL_ROOT $OPTS" && -CFLAGS="$CFLAGS -DPIC -fPIC" && +CFLAGS="$CFLAGS -DPIC -fPIC" && +CFLAGS="${CFLAGS/-O?/-O3} -fno-tree-vectorize -mstackrealign -DUNALIGNED_OK" && rm -f ${INSTALL_ROOT}/usr/X11R6/include/zlib.h rm -f ${INSTALL_ROOT}/usr/X11R6/lib/libz.a diff --git a/archive-libs/zlib/HISTORY b/archive-libs/zlib/HISTORY index 79ad89edc5..95ae1786aa 100644 --- a/archive-libs/zlib/HISTORY +++ b/archive-libs/zlib/HISTORY @@ -1,3 +1,6 @@ +2011-01-25 Florian Franzmann <siflfran@hawo.stw.uni-erlangen.de> + * BUILD: set CFLAGS to sane values to avoid segfault in firefox with gcc 4.5 + 2011-01-09 George Sherwood <gsherwood@sourcemage.org> * DETAILS: PATCHLEVEL++ * PRE_BUILD: Add patch from LFS |