aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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.