summaryrefslogtreecommitdiff
path: root/lang/gcc5
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2017-07-07 14:52:30 +0000
committerjperkin <jperkin@pkgsrc.org>2017-07-07 14:52:30 +0000
commitdd227396b7315dd39bf6bb428371329253bc7032 (patch)
tree06fb273049ac0073533a0d85884d7473990211f2 /lang/gcc5
parenta126ee2ac95f4e53128049763912676f8d73f6f1 (diff)
downloadpkgsrc-dd227396b7315dd39bf6bb428371329253bc7032.tar.gz
Explicitly disable mkostemp on SunOS. It was shipped as part of libc for
a while without the corresponding entry in stdlib.h, thus falling foul of -Werror=implicit-function-declaration checks.
Diffstat (limited to 'lang/gcc5')
-rw-r--r--lang/gcc5/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/lang/gcc5/Makefile b/lang/gcc5/Makefile
index 420cb21e933..5b15da7289d 100644
--- a/lang/gcc5/Makefile
+++ b/lang/gcc5/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2017/06/22 21:44:49 maya Exp $
+# $NetBSD: Makefile,v 1.20 2017/07/07 14:52:30 jperkin Exp $
GCC_PKGNAME= gcc5
PKGREVISION= 3
@@ -104,6 +104,7 @@ MAKE_ENV.NetBSD+= ac_cv_func_gethostbyname_r=no
MAKE_ENV.NetBSD+= ac_cv_func_freelocale=no
MAKE_ENV.NetBSD+= ac_cv_func_newlocale=no
MAKE_ENV.NetBSD+= ac_cv_func_uselocale=no
+MAKE_ENV.SunOS+= ac_cv_func_mkostemp=no
CONFIGURE_ARGS.DragonFly+= --disable-bootstrap