summaryrefslogtreecommitdiff
path: root/xibuild/build_profile
diff options
context:
space:
mode:
Diffstat (limited to 'xibuild/build_profile')
-rw-r--r--xibuild/build_profile8
1 files changed, 8 insertions, 0 deletions
diff --git a/xibuild/build_profile b/xibuild/build_profile
index 04c2ceb..b1ddb89 100644
--- a/xibuild/build_profile
+++ b/xibuild/build_profile
@@ -1,4 +1,5 @@
export PATH=/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin:/tools/sbin
+export LIBRARY_PATH=/lib:/usr/lib/:/tools/lib:/tools/lib64
apply_patches () {
for p in *.patch; do
@@ -14,5 +15,12 @@ export MAKEFLAGS="-j$JOBS"
export XORG_PREFIX="/usr"
export XORG_CONFIG="--prefix=/usr --sysconfdir=/etc --localstatedir=/var --disable-static"
+export BUILD_ROOT="/build/source"
+export RUST_TARGET="x86_64-unknown-linux-musl"
+#command -v clang &&
+# export CC="clang"
+
+#command -v clang++ &&
+# export CXX="clang++"
ldconfig