Set FFLAGS="${FFLAGS}" in CONFIGURE_ENV for alpha so octave will build

on alpha.  Wrap in .if ${MACHINE_ARCH} == "alpha" as it caused
regressions on other archs.

No bump since it didn't build on alpha before and only alpha is
affected.

Discussed with steven@
This commit is contained in:
merdely 2008-02-12 14:44:06 +00:00
parent 22c160ac23
commit dc514a71d0

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.32 2008/01/21 18:30:13 steven Exp $
# $OpenBSD: Makefile,v 1.33 2008/02/12 14:44:06 merdely Exp $
# vax: no IEEE arithmetic
# sparc: fPIC version of libgcc.a needed but not available
@ -57,6 +57,10 @@ MAKE_ENV= LIBcruft_VERSION=${LIBcruft_VERSION} \
LIBoctave_VERSION=${LIBoctave_VERSION} \
LIBoctinterp_VERSION=${LIBoctinterp_VERSION}
.if ${MACHINE_ARCH} == "alpha"
CONFIGURE_ENV+= FFLAGS="${FFLAGS}"
.endif
# needed to build on amd64
GCC_ARCH= ${MACHINE_ARCH}-unknown-openbsd${OPSYS_VER}
GNU_ARCH= ${GCC_ARCH:S/amd64/x86_64/}