summaryrefslogtreecommitdiff
path: root/x11/wxGTK30/hacks.mk
blob: 63583084550f0b14eb3366d9840e10a4cc9b0023 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# $NetBSD: hacks.mk,v 1.8 2019/04/26 16:53:20 bouyer Exp $

### [Mon Dec 14 16:58:00 MET 2015 : bouyer ]
### g++-4.8 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 !empty(PKGSRC_COMPILER:Mgcc) && \
      (!empty(CC_VERSION:Mgcc-4.8.*) || !empty(CC_VERSION:Mgcc-5.*) || !empty(CC_VERSION:Mgcc-6.*) || !empty(CC_VERSION:Mgcc-7.*))
CONFIGURE_ARGS+=	--disable-precomp-headers
.  endif
.endif