forked from p15670423/monkey
Compile 32/64 monkey_runner at the same time + strip symbols for size.
This commit is contained in:
parent
274f758239
commit
7f7b164561
|
@ -1,3 +1,9 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
gcc -c -Wall -Werror -fpic sc_monkey_runner.c
|
gcc -c -Wall -Werror -fpic -m64 sc_monkey_runner.c
|
||||||
gcc -shared -o sc_monkey_runner.so sc_monkey_runner.o
|
gcc -shared -m64 -o sc_monkey_runner_64.so sc_monkey_runner.o
|
||||||
|
rm sc_monkey_runner.o
|
||||||
|
strip sc_monkey_runner_64.so
|
||||||
|
gcc -c -Wall -Werror -fpic -m32 sc_monkey_runner.c
|
||||||
|
gcc -shared -m32 -o sc_monkey_runner_32.so sc_monkey_runner.o
|
||||||
|
rm sc_monkey_runner.o
|
||||||
|
strip sc_monkey_runner_32.so
|
Loading…
Reference in New Issue