Use -O0 instead of -01 on !(i386||amd64), makes sparc64 happier, and

maybe alpha too.
ok/tweaks sthen@
This commit is contained in:
landry 2010-06-16 09:19:07 +00:00
parent 215a0d5db9
commit fb043d8675

View File

@ -1,13 +1,12 @@
# $OpenBSD: Makefile,v 1.5 2009/08/10 06:31:44 kili Exp $
# $OpenBSD: Makefile,v 1.6 2010/06/16 09:19:07 landry Exp $
VMEM_WARNING = Yes
# and I'm not joking! - don't waste build time on the following arch
# where MAXDSIZ is simply too low to compile this software:
NOT_FOR_ARCHS = m68k m88k sparc vax
# and restrict to -O1 for the largest files, except on selected arch
.if (${MACHINE_ARCH} != "i386" && ${MACHINE_ARCH} != "sparc64" && \
${MACHINE_ARCH} != "amd64")
MAKE_ENV += CXXNOOPT=-O1
# and restrict to -O0 for the largest files, except on selected arch
.if (${MACHINE_ARCH} != "i386" && ${MACHINE_ARCH} != "amd64")
MAKE_ENV += CXXNOOPT=-O0
.endif
COMMENT = blend seams in panoramic image mosaics