diff options
author | cjep <cjep@pkgsrc.org> | 2002-05-19 19:37:50 +0000 |
---|---|---|
committer | cjep <cjep@pkgsrc.org> | 2002-05-19 19:37:50 +0000 |
commit | 4972f56304cbb4eaf00c84aecec9c4a3c2dff9ff (patch) | |
tree | 728c245f1dc2558b10093b57c2e90ee0e24ee0d8 /databases/cdb | |
parent | e1a06d5fb2000eef0eb7368a38d2d8e9779a052f (diff) | |
download | pkgsrc-4972f56304cbb4eaf00c84aecec9c4a3c2dff9ff.tar.gz |
On arm32 turn off optimisation so that this package builds.
Diffstat (limited to 'databases/cdb')
-rw-r--r-- | databases/cdb/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/databases/cdb/Makefile b/databases/cdb/Makefile index d06a6fa6b25..003289af23d 100644 --- a/databases/cdb/Makefile +++ b/databases/cdb/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2002/03/30 13:15:02 yyamano Exp $ +# $NetBSD: Makefile,v 1.3 2002/05/19 19:37:50 cjep Exp $ DISTNAME= cdb-0.75 CATEGORIES= databases @@ -11,6 +11,10 @@ COMMENT= creates and reads constant databases ALL_TARGET= it INSTALL_TARGET= setup check +.if (${MACHINE_ARCH} == "arm32" && ${CFLAGS} == "-O2") +CFLAGS= -O0 +.endif + pre-build: ${ECHO} ${CC} ${CFLAGS} > ${WRKSRC}/conf-cc ${ECHO} ${CC} ${_STRIPFLAG_CC} > ${WRKSRC}/conf-ld |