diff options
author | maya <maya@pkgsrc.org> | 2016-09-06 16:28:48 +0000 |
---|---|---|
committer | maya <maya@pkgsrc.org> | 2016-09-06 16:28:48 +0000 |
commit | bf80a959ddaa9221148720524477fa978697fe75 (patch) | |
tree | bcd4ea3d06906ae5987f38ae2c7c1fab0b7f2945 | |
parent | 8c07464243772bfd49fca85fd67c22532841073a (diff) | |
download | pkgsrc-bf80a959ddaa9221148720524477fa978697fe75.tar.gz |
gcc47: limit disabling of libsdtc++ pch use to netbsd.
add a comment that explains that the hang occurs due to ASLR, so other
ASLR users will be able to identify the cause.
thanks joerg for suggesting the cause
-rw-r--r-- | lang/gcc47/Makefile | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/lang/gcc47/Makefile b/lang/gcc47/Makefile index 176a0f1cff5..c2363543fe3 100644 --- a/lang/gcc47/Makefile +++ b/lang/gcc47/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.39 2016/09/06 15:04:57 maya Exp $ +# $NetBSD: Makefile,v 1.40 2016/09/06 16:28:48 maya Exp $ GCC_PKGNAME= gcc47 .include "version.mk" @@ -68,10 +68,8 @@ CHECK_SHLIBS_SKIP+= ${GCC_PKGNAME}/lib*/libgcj_bc.so* ## For target librarys and libjava programs. CONFIGURE_ENV+= LDFLAGS_FOR_TARGET=${LDFLAGS_FOR_TARGET:Q} -.include "../../mk/compiler.mk" -.if !empty(CC_VERSION:Mgcc-5.*) -# hangs "checking for compiler with PCH support" -# similar to GCC bug 54719/54645. +# "checking for compiler with PCH support" hangs with ASLR enabled +.if !empty(MACHINE_PLATFORM:MNetBSD-*) CONFIGURE_ARGS+= --disable-libstdcxx-pch .endif |