aboutsummaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorlemon <lsof@mailbox.org>2022-08-24 07:04:02 +0200
committerlemon <lsof@mailbox.org>2022-08-24 07:04:02 +0200
commitd5c61681198527d70bc95f8ed10f19e881ac51b3 (patch)
tree5e82ecd7d5197cdf2c7c96ac628436fe1beff37f /bootstrap
parente5ed3b20351a2715fe88d9a5dbcc8e6757fe96aa (diff)
arch stuff
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap/bootstrap.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/bootstrap/bootstrap.sh b/bootstrap/bootstrap.sh
index f221ce2..1d682dc 100755
--- a/bootstrap/bootstrap.sh
+++ b/bootstrap/bootstrap.sh
@@ -16,6 +16,8 @@ export CFLAGS="-Wno-builtin-declaration-mismatch -Wno-discarded-qualifiers -g"
set -euo pipefail
+echo "extern static host_target_triple const *const u8 = \"`clang -print-target-triple`\";" > ../src/host-target-triple.cff
+
mkdir -p obj1/
for f in $(find ../src/ -name '*.cff'); do
out=obj1/$(basename "$f").o