mirror of
https://github.com/ahgamut/rust-ape-example.git
synced 2024-05-14 09:32:39 +00:00
8 lines
179 B
Bash
Executable file
8 lines
179 B
Bash
Executable file
#!/usr/bin/env bash
|
|
set -eux
|
|
|
|
gcc -g -Os -static -nostdlib -nostdinc \
|
|
-fno-pie -no-pie -mno-red-zone \
|
|
-fno-omit-frame-pointer -pg -mnop-mcount \
|
|
-o ./stubs.o -c ./stubs.c
|