summaryrefslogtreecommitdiff
path: root/graphics/megapov
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2005-04-11 08:04:41 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2005-04-11 08:04:41 +0000
commitf2fc2d60ae226a1b8d5411fb4aab91ea92be6f91 (patch)
treee9a77f53d4fe679665594e718ad34b49668507cc /graphics/megapov
parent- Fix non-root installation (diff)
Assist getting more ports working on AMD64 by obeying the
Ports Collection documentation and use 'ARCH' rather than 'MACHINE_ARCH'.
Diffstat (limited to 'graphics/megapov')
-rw-r--r--graphics/megapov/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/megapov/Makefile b/graphics/megapov/Makefile
index 5e906d73906e..32778a540849 100644
--- a/graphics/megapov/Makefile
+++ b/graphics/megapov/Makefile
@@ -31,7 +31,7 @@ ALL_TARGET= # empty
.if defined(WITH_OPTIMIZED_FLAGS)
CFLAGS+= -O3 -ffast-math -finline-functions -fomit-frame-pointer -funroll-loops -fexpensive-optimizations -malign-double -Wunused-variable
CXXFLAGS+= -O3 -ffast-math -finline-functions -fomit-frame-pointer -funroll-loops -fexpensive-optimizations -malign-double -Wunused-variable -Wno-multichar
-.if (${MACHINE_ARCH} == "i386")
+.if (${ARCH} == "i386")
CFLAGS+= -mcpu=i686 -march=i686 -mfancy-math-387
CXXFLAGS+= -mcpu=i686 -march=i686 -mfancy-math-387
.endif # i386