diff options
author | vs <vs@FreeBSD.org> | 2004-03-27 01:21:29 +0800 |
---|---|---|
committer | vs <vs@FreeBSD.org> | 2004-03-27 01:21:29 +0800 |
commit | dde999d9926fa16045639ee50500db8fc320c5f7 (patch) | |
tree | e13aefe446d50426a752978f13fe9f1e8d807b21 /x11-clocks/glclock | |
parent | 9a5507ad6228452eb1f4968ccaeb4424bce2686f (diff) | |
download | freebsd-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/Makefile | 9 |
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> |