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
This commit is contained in:
parent
08e0ece914
commit
41f4e37942
1 changed files with 8 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue