aboutsummaryrefslogtreecommitdiffstats
path: root/x11-clocks/glclock
diff options
context:
space:
mode:
authorvs <vs@FreeBSD.org>2004-03-27 01:21:29 +0800
committervs <vs@FreeBSD.org>2004-03-27 01:21:29 +0800
commitdde999d9926fa16045639ee50500db8fc320c5f7 (patch)
treee13aefe446d50426a752978f13fe9f1e8d807b21 /x11-clocks/glclock
parent9a5507ad6228452eb1f4968ccaeb4424bce2686f (diff)
downloadfreebsd-ports-gnome-dde999d9926fa16045639ee50500db8fc320c5f7.tar.gz
freebsd-ports-gnome-dde999d9926fa16045639ee50500db8fc320c5f7.tar.zst
freebsd-ports-gnome-dde999d9926fa16045639ee50500db8fc320c5f7.zip
Unbreak on alpha/current. -ffast-math is broken atm.
Diffstat (limited to 'x11-clocks/glclock')
-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>