Add -finline-limit=60 to CXXFLAGS to allow this beast to build on hppa.

ok espie@
This commit is contained in:
landry 2010-04-05 09:54:35 +00:00
parent 289dffa9b8
commit 0f47ca90d9

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.63 2009/10/15 14:30:07 espie Exp $
# $OpenBSD: Makefile,v 1.64 2010/04/05 09:54:35 landry Exp $
COMMENT-debug = C++ GUI toolkit, debug
COMMENT-main = C++ X11 GUI toolkit
@ -118,6 +118,12 @@ CONFIGURE_ARGS += -I${LOCALBASE}/include/postgresql \
CONFIGURE_ENV = LOCALBASE=${LOCALBASE} QTDIR="${WRKSRC}" \
X11BASE=${X11BASE}
# fix to avoid gcc generating a huge uncompilable intermediate assembly
.if ${MACHINE_ARCH} == "hppa"
CXXFLAGS = -finline-limit=60
CONFIGURE_ENV += OPENSOURCE_CXXFLAGS=${CXXFLAGS}
.endif
BUILD_DEPENDS += ::print/cups
BUILD_DEPENDS += ::x11/dbus
BUILD_DEPENDS += ::databases/postgresql,-server