aboutsummaryrefslogtreecommitdiff
path: root/x11-clocks
diff options
context:
space:
mode:
authorVolker Stolz <vs@FreeBSD.org>2004-03-26 17:21:29 +0000
committerVolker Stolz <vs@FreeBSD.org>2004-03-26 17:21:29 +0000
commit064bfd7b6b432746383f5fe85e41482ca464ddf4 (patch)
tree48e561ef21cbb64a4c9848b22ced05d624674aee /x11-clocks
parent2aa824a7ef63d13893086f97560303a25d591aa9 (diff)
downloadports-064bfd7b6b432746383f5fe85e41482ca464ddf4.tar.gz
ports-064bfd7b6b432746383f5fe85e41482ca464ddf4.zip
Notes
Diffstat (limited to 'x11-clocks')
-rw-r--r--x11-clocks/glclock/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/x11-clocks/glclock/Makefile b/x11-clocks/glclock/Makefile
index 019614ba8c52..a273e872a565 100644
--- a/x11-clocks/glclock/Makefile
+++ b/x11-clocks/glclock/Makefile
@@ -36,9 +36,14 @@ SCRIPTS = benchclock crystalclock f_crystalclock f_glclock \
TEXTURES = marble.ppm sky.ppm wood.ppm
+.include <bsd.port.pre.mk>
+
.if defined(WITH_OPTIMIZED_CFLAGS)
-CXXFLAGS+= -O3 -fexpensive-optimizations -ffast-math \
+CXXFLAGS+= -O3 -fexpensive-optimizations \
-fomit-frame-pointer -fforce-mem -fforce-addr
+.if (${ARCH} != "alpha")
+CXXFLAGS+= -ffast-math
+.endif
.endif
do-install:
@@ -51,4 +56,4 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/lib/X11/glclock
.endfor
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>