diff options
author | jperkin <jperkin@pkgsrc.org> | 2016-03-18 11:39:18 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2016-03-18 11:39:18 +0000 |
commit | ae77324973db744d0ef31b93902fe4612cb8129f (patch) | |
tree | 9d1a7e2ed18076703992dc309d6d862ac43734a7 /lang/nodejs | |
parent | d39c90c63d540607ff5a19a72e5c57fc31097601 (diff) | |
download | pkgsrc-ae77324973db744d0ef31b93902fe4612cb8129f.tar.gz |
Ensure we don't try to use gold on Linux if it doesn't exist. Fixes
64-bit build on CentOS.
Diffstat (limited to 'lang/nodejs')
-rw-r--r-- | lang/nodejs/Makefile.common | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lang/nodejs/Makefile.common b/lang/nodejs/Makefile.common index 844c6d99403..5ad7f9d5d96 100644 --- a/lang/nodejs/Makefile.common +++ b/lang/nodejs/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.5 2016/03/12 12:34:44 tnn Exp $ +# $NetBSD: Makefile.common,v 1.6 2016/03/18 11:39:18 jperkin Exp $ # used by lang/nodejs/Makefile # used by lang/nodejs4/Makefile @@ -30,6 +30,10 @@ PTHREAD_AUTO_VARS= yes CONFIGURE_ENV.NetBSD+= GYP_DEFINES="OS=netbsd" MAKE_ENV.NetBSD+= GYP_DEFINES="OS=netbsd" +.if ${OPSYS} == "Linux" && !exists(/usr/bin/gold) +CONFIGURE_ENV+= GYP_DEFINES="linux_use_gold_flags=0" +.endif + REPLACE_PYTHON+= configure REPLACE_PYTHON+= tools/genv8constants.py REPLACE_PYTHON+= tools/gyp/pylib/gyp/flock_tool.py |