[BACK]Return to hacks.mk CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / editors / xemacs

File: [cvs.NetBSD.org] / pkgsrc / editors / xemacs / hacks.mk (download)

Revision 1.2, Mon Apr 8 11:17:12 2013 UTC (11 years ago) by rodent
Branch: MAIN
CVS Tags: pkgsrc-2014Q3-base, pkgsrc-2014Q3, pkgsrc-2014Q2-base, pkgsrc-2014Q2, pkgsrc-2014Q1-base, pkgsrc-2014Q1, pkgsrc-2013Q4-base, pkgsrc-2013Q4, pkgsrc-2013Q3-base, pkgsrc-2013Q3, pkgsrc-2013Q2-base, pkgsrc-2013Q2
Changes since 1.1: +2 -2 lines

Remove "Trailing empty lines." and/or "Trailing white-space."

# $NetBSD: hacks.mk,v 1.2 2013/04/08 11:17:12 rodent Exp $

.if !defined(XEMACS_HACKS_MK)
XEMACS_HACKS_MK=	defined

.include "../../mk/compiler.mk"

### [Sun Dec 10 10:00:00 UTC 2011 : hauke]
### On PowerPC, building with -O2 optimisation with GCC (on netbsd-5,
### at least) results in 'xemacs -vanilla' dumping core.
### Lower optimisation as a workaround, until GCC is fixed.
###
.if !empty(CC_VERSION:Mgcc*) && !empty(MACHINE_PLATFORM:MNetBSD-*-powerpc)
PKG_HACKS+=		powerpc-codegen
BUILDLINK_TRANSFORM+=	rename:-O[0-9]*:-Os
.endif

.endif  # XEMACS_HACKS_MK