| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Linux.mk,v 1.49 2012/03/19 12:34:17 joerg Exp $ | | 1 | # $NetBSD: Linux.mk,v 1.49.2.1 2012/04/09 07:41:24 spz Exp $ |
2 | # | | 2 | # |
3 | # Variable definitions for the Linux operating system. | | 3 | # Variable definitions for the Linux operating system. |
4 | | | 4 | |
5 | ECHO_N?= ${ECHO} -n | | 5 | ECHO_N?= ${ECHO} -n |
6 | .if defined(X11_TYPE) && ${X11_TYPE} == "native" | | 6 | .if defined(X11_TYPE) && ${X11_TYPE} == "native" |
7 | IMAKE_MAKE?= ${GMAKE} # program which gets invoked by imake | | 7 | IMAKE_MAKE?= ${GMAKE} # program which gets invoked by imake |
8 | IMAKE_TOOLS= gmake # extra tools required when we use imake | | 8 | IMAKE_TOOLS= gmake # extra tools required when we use imake |
9 | .endif | | 9 | .endif |
10 | IMAKEOPTS+= -DBuildHtmlManPages=NO | | 10 | IMAKEOPTS+= -DBuildHtmlManPages=NO |
11 | PKGLOCALEDIR?= share | | 11 | PKGLOCALEDIR?= share |
12 | PS?= /bin/ps | | 12 | PS?= /bin/ps |
13 | # XXX: default from defaults/mk.conf. Verify/correct for this platform | | 13 | # XXX: default from defaults/mk.conf. Verify/correct for this platform |
14 | # and remove this comment. | | 14 | # and remove this comment. |
| @@ -84,16 +84,16 @@ _OPSYS_MAX_CMDLEN_CMD?= /usr/bin/getconf | | | @@ -84,16 +84,16 @@ _OPSYS_MAX_CMDLEN_CMD?= /usr/bin/getconf |
84 | .if (${MACHINE_ARCH} == "x86_64") | | 84 | .if (${MACHINE_ARCH} == "x86_64") |
85 | ABI?= 64 | | 85 | ABI?= 64 |
86 | LIBABISUFFIX?= 64 | | 86 | LIBABISUFFIX?= 64 |
87 | .endif | | 87 | .endif |
88 | | | 88 | |
89 | ## Use _CMD so the command only gets run when needed! | | 89 | ## Use _CMD so the command only gets run when needed! |
90 | .if exists(/lib/libc.so.6) | | 90 | .if exists(/lib/libc.so.6) |
91 | _GLIBC_VERSION_CMD= /lib/libc.so.6 --version | \ | | 91 | _GLIBC_VERSION_CMD= /lib/libc.so.6 --version | \ |
92 | sed -ne's/^GNU C.*version \(.*\),.*$$/\1/p' | | 92 | sed -ne's/^GNU C.*version \(.*\),.*$$/\1/p' |
93 | GLIBC_VERSION= ${_GLIBC_VERSION_CMD:sh} | | 93 | GLIBC_VERSION= ${_GLIBC_VERSION_CMD:sh} |
94 | .endif | | 94 | .endif |
95 | | | 95 | |
96 | # If this is defined pass it to the make process. | | 96 | # If this is defined pass it to the make process. |
97 | .if !defined(NOGCCERROR) | | 97 | .if defined(NOGCCERROR) |
98 | MAKE_ENV+= NOGCCERROR=true | | 98 | MAKE_ENV+= NOGCCERROR=true |
99 | .endif | | 99 | .endif |