mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-01-31 03:27:39 +00:00
9f149e1de3
It turns out adding OpenBSD msyscall() origin verification broke the --ftrace flag. The executable needs to issue raw syscalls while it's rewriting itself. So they need to be in the same section, and that's just plain simpler too.
10 lines
369 B
Bash
Executable file
10 lines
369 B
Bash
Executable file
#!/bin/sh
|
|
#-*-mode:sh;indent-tabs-mode:nil;tab-width:2;coding:utf-8-*-┐
|
|
#───vi: set net ft=sh ts=2 sts=2 fenc=utf-8 :vi─────────────┘
|
|
mkdir -p o/third_party
|
|
cp -R third_party/gcc o/third_party/gcc.$$
|
|
for f in $(find o/third_party/gcc.$$ -name \*.gz); do
|
|
gunzip $f
|
|
chmod +x ${f%.gz}
|
|
done
|
|
mv o/third_party/gcc.$$ o/third_party/gcc
|