aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBobby Holley <bobbyholley@gmail.com>2016-05-06 14:30:57 -0700
committerBobby Holley <bobbyholley@gmail.com>2016-05-06 14:40:01 -0700
commita778b03f364249586cd066013ab03979d08d8fee (patch)
treea4afddf4263c327257608b6c81479814a744a96a
parent286da1bbe43d7ce509b99898119611a67aa28253 (diff)
downloadservo-a778b03f364249586cd066013ab03979d08d8fee.tar.gz
servo-a778b03f364249586cd066013ab03979d08d8fee.zip
Tweak the bindgen setup scripts.
-rw-r--r--ports/geckolib/tools/README.md2
-rwxr-xr-xports/geckolib/tools/setup_bindgen.sh4
2 files changed, 3 insertions, 3 deletions
diff --git a/ports/geckolib/tools/README.md b/ports/geckolib/tools/README.md
index 9eefde8be6f..667944fbeed 100644
--- a/ports/geckolib/tools/README.md
+++ b/ports/geckolib/tools/README.md
@@ -11,7 +11,7 @@ You can see a description of them below.
## `setup_bindgen.sh`
This uses downloads a custom version of bindgen, up to date to generate the
-bindings, and uses the custom `clang` to build it.
+bindings, and uses the required `llvm38` to build it.
It will also rebuild it if it's already downloaded.
diff --git a/ports/geckolib/tools/setup_bindgen.sh b/ports/geckolib/tools/setup_bindgen.sh
index 9863c43f42d..16c4147e9a7 100755
--- a/ports/geckolib/tools/setup_bindgen.sh
+++ b/ports/geckolib/tools/setup_bindgen.sh
@@ -5,9 +5,9 @@ cd "$(dirname $0)"
# Setup and build bindgen.
if [ "$(uname)" == "Linux" ]; then
- LIBCLANG_PATH=/usr/lib/llvm-3.8/lib;
+ export LIBCLANG_PATH=/usr/lib/llvm-3.8/lib;
else
- LIBCLANG_PATH=`brew --prefix llvm38`/lib/llvm-3.8/lib;
+ export LIBCLANG_PATH=`brew --prefix llvm38`/lib/llvm-3.8/lib;
fi
# Make sure we have llvm38.