Commit graph

5 commits

Author SHA1 Message Date
gdt
eb1028147b Extend check for gcc to work with distcc/ccache
Instead of checking that PKGSRC_COMPILER is equal to gcc, see if gcc
is contained in it.  Thus, if PKGSRC_COMPILER is "ccache gcc" or
"ccache distcc gcc", the hack will still be applied.  (As a side
effect, I can confirm that the hack is still needed on recent netbsd-7
i386.)
2016-08-20 13:19:21 +00:00
bouyer
a46d34abb1 Apply the --disable-precomp-headers hack to gcc 5.x too.
From John D. Baker, PR pkg/50287
2016-06-02 11:41:26 +00:00
joerg
da21ea07e3 Check that the compiler is actually gcc. 2015-12-14 19:50:55 +00:00
bouyer
9d4381fb58 Fix comment, pointed out by wiz@ 2015-12-14 16:57:29 +00:00
bouyer
86a684121d Disable precomp-headers on NetBSD with gcc 4.8 (i.e. NetBSD 7.0)
to avoid cc1plus 100% CPU spin. Should fix PR pkg/50287 and
workaround PR port-i386/50553
2015-12-14 16:49:22 +00:00