diff options
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 |