diff options
author | sketch <sketch@pkgsrc.org> | 2004-11-02 17:42:13 +0000 |
---|---|---|
committer | sketch <sketch@pkgsrc.org> | 2004-11-02 17:42:13 +0000 |
commit | 41f4e379428c7b2ed617c4e21c23686b976b4ccf (patch) | |
tree | 2c60e554d202c7683b4b18eb665f1459ee0f429a /devel/bison | |
parent | 08e0ece914563396ec1b4d245efd575573fb92b5 (diff) | |
download | pkgsrc-41f4e379428c7b2ed617c4e21c23686b976b4ccf.tar.gz |
Remove optimisations when compiling with sunpro to avoid issues with
quotearg_buffer_restyled(). Google suggests this function has issues
with other non-gcc compilers using optimisation as well.
Notable fixes include net/libIDL's parser.y
Diffstat (limited to 'devel/bison')
-rw-r--r-- | devel/bison/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/devel/bison/Makefile b/devel/bison/Makefile index e59be1ffcaa..22d0afdb8d9 100644 --- a/devel/bison/Makefile +++ b/devel/bison/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.48 2004/01/20 22:24:35 jlam Exp $ +# $NetBSD: Makefile,v 1.49 2004/11/02 17:42:13 sketch Exp $ DISTNAME= bison-1.875 PKGREVISION= 1 @@ -24,4 +24,11 @@ INFO_FILES= bison.info TEST_TARGET= check +.include "../../mk/compiler.mk" + +# quotearg_buffer_restyled() has issues with optimisation +.if !empty(PKGSRC_COMPILER:Msunpro) +BUILDLINK_TRANSFORM+= rm:-O[0-9]* +.endif + .include "../../mk/bsd.pkg.mk" |