summaryrefslogtreecommitdiff
path: root/editors/codeblocks/hacks.mk
blob: 12b035356c819810041c8af0865f6c420539d919 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# $NetBSD: hacks.mk,v 1.1 2016/08/27 20:58:41 joerg Exp $

### g++ 4.8 and 5.3 on NetBSD/i386 fails with an internal compiler error
### when PCH is used. Be conservative and disable on all MACHINE_ARCH
### 
.if ${OPSYS} == "NetBSD" 
.  include "../../mk/compiler.mk"
.  if ${PKGSRC_COMPILER} == "gcc" && \
      (!empty(CC_VERSION:Mgcc-4.8.*) || !empty(CC_VERSION:Mgcc-5.*))
CONFIGURE_ARGS+=	--disable-pch
.  endif
.endif