-
-
Notifications
You must be signed in to change notification settings - Fork 90
Expand file tree
/
Copy pathworkbench
More file actions
executable file
·23 lines (17 loc) · 909 Bytes
/
workbench
File metadata and controls
executable file
·23 lines (17 loc) · 909 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/bash
# export G_MESSAGES_DEBUG=all
export GTK_DEBUG=iconfallback
# Required to allow pkgconfig to find pc files in /app/lib/pkgconfig
export PKG_CONFIG_PATH=/app/lib/pkgconfig/:$PKG_CONFIG_PATH
source /usr/lib/sdk/rust-stable/enable.sh 2> /dev/null
source /usr/lib/sdk/vala/enable.sh 2> /dev/null
source /usr/lib/sdk/llvm16/enable.sh 2> /dev/null
# TODO: Figure out how to use gcc with mold so we can drop llvm
export CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_LINKER=clang
export CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_RUSTFLAGS="-C link-arg=-fuse-ld=/usr/lib/sdk/rust-stable/bin/mold"
export CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER=clang
export CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_RUSTFLAGS="-C link-arg=-fuse-ld=/usr/lib/sdk/rust-stable/bin/mold"
# We do not support translations but the AboutWindow is translated by default
LANG=en_US.UTF-8
mkdir -p $XDG_RUNTIME_DIR/$FLATPAK_ID
@command@