aboutsummaryrefslogtreecommitdiff
path: root/graphics/povray36/Makefile
diff options
context:
space:
mode:
authorMaho Nakata <maho@FreeBSD.org>2003-12-28 14:49:05 +0000
committerMaho Nakata <maho@FreeBSD.org>2003-12-28 14:49:05 +0000
commit04df6dcb62019c6859bb5f083967082507ec5452 (patch)
treed113d09fc224d061e95abab3dd0380f7687c0b77 /graphics/povray36/Makefile
parent43e7cc3f57a0c4f419e3eea7e1a990b3fce5f764 (diff)
downloadports-04df6dcb62019c6859bb5f083967082507ec5452.tar.gz
ports-04df6dcb62019c6859bb5f083967082507ec5452.zip
Notes
Diffstat (limited to 'graphics/povray36/Makefile')
-rw-r--r--graphics/povray36/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/graphics/povray36/Makefile b/graphics/povray36/Makefile
index 85db21581c17..247b55635100 100644
--- a/graphics/povray36/Makefile
+++ b/graphics/povray36/Makefile
@@ -36,11 +36,11 @@ USE_GMAKE= yes
GNU_CONFIGURE= yes
.if defined(WITH_OPTIMIZED_FLAGS)
-CFLAGS+= -O3 -ffast-math -finline-functions -fomit-frame-pointer -funroll-loops -fexpensive-optimizations -malign-double
-CXXFLAGS+= -O3 -ffast-math -finline-functions -fomit-frame-pointer -funroll-loops -fexpensive-optimizations -malign-double -Wno-multichar
-.if (${MACHINE_ARCH} == "i386")
-CFLAGS+= -mcpu=i686 -march=i686 -mfancy-math-387
-CXXFLAGS+= -mcpu=i686 -march=i686 -mfancy-math-387
+CFLAGS+= -O3 -ffast-math -finline-functions -fomit-frame-pointer -funroll-loops -fexpensive-optimizations
+CXXFLAGS+= -O3 -ffast-math -finline-functions -fomit-frame-pointer -funroll-loops -fexpensive-optimizations -Wno-multichar
+.if (${MACHINE_ARCH} == "i386" && !${MACHINE_ARCH} == "amd64" )
+CFLAGS+= -mfancy-math-387 -mpreferred-stack-boundary=3 -malign-double
+CXXFLAGS+= -mfancy-math-387 -mpreferred-stack-boundary=3 -malign-double
.endif # i386
.endif