diff options
author | ache <ache@FreeBSD.org> | 2007-06-26 15:23:43 +0800 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 2007-06-26 15:23:43 +0800 |
commit | c47d7f01a064da53aa905a7bfa82d24c479c4927 (patch) | |
tree | 6ab92d1840ca6ce3d4e39f53763418b11c0c83e7 /misc | |
parent | 7abdc83630d8a38db0b4b9c14a707b38077c5f51 (diff) | |
download | freebsd-ports-gnome-c47d7f01a064da53aa905a7bfa82d24c479c4927.tar.gz freebsd-ports-gnome-c47d7f01a064da53aa905a7bfa82d24c479c4927.tar.zst freebsd-ports-gnome-c47d7f01a064da53aa905a7bfa82d24c479c4927.zip |
Use -fno-tree-vrp as better variant of prev. workaround
Diffstat (limited to 'misc')
-rw-r--r-- | misc/astrolog/Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/misc/astrolog/Makefile b/misc/astrolog/Makefile index ff6d539f66dd..b52920227973 100644 --- a/misc/astrolog/Makefile +++ b/misc/astrolog/Makefile @@ -21,7 +21,13 @@ DISTFILES= ${EXTRACT_ONLY}:dist ${EPHEM}:ephem MAINTAINER= ache@FreeBSD.org COMMENT= An astrology program for X11 and alpha-numeric terminals -CFLAGS+=-O # Silent gcc 4.2.0 loop optimization bug with -O2 +.include <bsd.port.pre.mk> + +.if ${OSVERSION} >= 700042 +# gcc 4.2.0 loop optimization limits range bug with -O2 +CFLAGS+=-fno-tree-vrp +.endif + USE_ZIP= yes .if !defined(WITHOUT_X11) USE_XLIB= yes @@ -58,4 +64,4 @@ do-install: @${ECHO_MSG} "See the file ${PREFIX}/share/doc/astrolog/Helpfile.540 for help" @${ECHO_MSG} "and tune ${PREFIX}/lib/astrolog/astrolog.dat" -.include <bsd.port.mk> +.include <bsd.port.post.mk> |