summaryrefslogtreecommitdiff
path: root/xib_profile.conf
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-05-31 22:27:46 +0100
committerdavidovski <david@davidovski.xyz>2022-05-31 22:27:46 +0100
commit30fa5253773e05e01e2830d039658b9635e9617a (patch)
treecbeb6c4d302060de9adaaf86140cc5320fd52834 /xib_profile.conf
parent48404087821e711d0dfacc213f046e740c16adf6 (diff)
added xib_profile
Diffstat (limited to 'xib_profile.conf')
-rwxr-xr-xxib_profile.conf24
1 files changed, 24 insertions, 0 deletions
diff --git a/xib_profile.conf b/xib_profile.conf
new file mode 100755
index 0000000..6a33a9f
--- /dev/null
+++ b/xib_profile.conf
@@ -0,0 +1,24 @@
+
+# configurations for xib
+# keep these generic and able to be reused for multiple different hosts
+
+export JOBS=$(grep "processor" /proc/cpuinfo | wc -l)
+export MAKEFLAGS=-j$JOBS
+export SAMUFLAGS=-j$JOBS
+export CARGO_BUILD_JOBS=$JOBS
+
+export CFLAGS="-pipe -Os -fomit-frame-pointer"
+export CXXFLAGS="$CFLAGS"
+export CPPFLAGS="$CFLAGS"
+export LDFLAGS="-Wl,--as-needed,-O1,--sort-common"
+export GOFLAGS="-buildmode=pie"
+export DFLAGS="-Os"
+export HOME=/root
+
+export XORG_PREFIX="/usr"
+export XORG_CONFIG="--prefix=/usr --sysconfdir=/etc --localstatedir=/var --disable-static"
+
+export RUST_TARGET="x86_64-unknown-linux-musl"
+
+export PATH=/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin:/tools/sbin
+export LIBRARY_PATH=/lib:/usr/lib/:/tools/lib:/tools/lib64