diff options
author | sbd <sbd@pkgsrc.org> | 2012-03-05 07:53:42 +0000 |
---|---|---|
committer | sbd <sbd@pkgsrc.org> | 2012-03-05 07:53:42 +0000 |
commit | deec885b68640e1153b822df458cf9a7c5b81e18 (patch) | |
tree | 73fd96f37f2c25fab187fa3f5e9dcb54fc4ed44a /mk | |
parent | c20475921dd86a445431671a3d17bebed4a17e7f (diff) | |
download | pkgsrc-deec885b68640e1153b822df458cf9a7c5b81e18.tar.gz |
If NOGCCERROR is defined pass it to the make process.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/platform/Linux.mk | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/mk/platform/Linux.mk b/mk/platform/Linux.mk index d6cf3aae14a..debebbf85b7 100644 --- a/mk/platform/Linux.mk +++ b/mk/platform/Linux.mk @@ -1,4 +1,4 @@ -# $NetBSD: Linux.mk,v 1.47 2012/01/22 08:40:11 sbd Exp $ +# $NetBSD: Linux.mk,v 1.48 2012/03/05 07:53:42 sbd Exp $ # # Variable definitions for the Linux operating system. @@ -110,3 +110,8 @@ _GLIBC_VERSION_CMD= /lib/libc.so.6 --version | \ sed -ne's/^GNU C.*version \(.*\),.*$$/\1/p' GLIBC_VERSION= ${_GLIBC_VERSION_CMD:sh} .endif + +# If this is defined pass it to the make process. +.if !defined(NOGCCERROR) +MAKE_ENV+= NOGCCERROR=true +.endif |