Created
February 1, 2017 22:58
-
-
Save mbroadst/5f5dc8d0bd606e2f136a39db2d9793d4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 4370589c5b579206e3ad9d9d82e0b424fb9a68cd Mon Sep 17 00:00:00 2001 | |
From: Matt Broadstone <mbroadst@gmail.com> | |
Date: Mon, 11 Apr 2016 09:38:48 -0400 | |
Subject: [PATCH 1/3] wrap compiler env variables in quotes | |
--- | |
mk/support/pkg/v8.sh | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
diff --git a/mk/support/pkg/v8.sh b/mk/support/pkg/v8.sh | |
index dc339ad..7475dbe 100644 | |
--- a/mk/support/pkg/v8.sh | |
+++ b/mk/support/pkg/v8.sh | |
@@ -45,7 +45,7 @@ pkg_install () { | |
*) arch=native ;; | |
esac | |
mode=release | |
- pkg_make $arch.$mode CXX=$CXX LINK=$CXX LINK.target=$CXX GYPFLAGS="-Dwerror= $arch_gypflags" V=1 | |
+ pkg_make $arch.$mode CXX="$CXX" LINK="$CXX" LINK.target="$CXX" GYPFLAGS="-Dwerror= $arch_gypflags" V=1 | |
for lib in `find "$build_dir/out/$arch.$mode" -maxdepth 1 -name \*.a` `find "$build_dir/out/$arch.$mode/obj.target" -name \*.a`; do | |
name=`basename $lib` | |
cp $lib "$install_dir/lib/${name/.$arch/}" | |
-- | |
2.3.8 (Apple Git-58) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment