From 7f7b16456191aa7808aef46f236212e4131d04b2 Mon Sep 17 00:00:00 2001 From: Daniel Goldberg Date: Mon, 18 Sep 2017 10:55:56 +0300 Subject: [PATCH] Compile 32/64 monkey_runner at the same time + strip symbols for size. --- .../monkey_utils/sambacry_monkey_runner/build.sh | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/chaos_monkey/monkey_utils/sambacry_monkey_runner/build.sh b/chaos_monkey/monkey_utils/sambacry_monkey_runner/build.sh index 900855a6c..cc7640742 100644 --- a/chaos_monkey/monkey_utils/sambacry_monkey_runner/build.sh +++ b/chaos_monkey/monkey_utils/sambacry_monkey_runner/build.sh @@ -1,3 +1,9 @@ #!/usr/bin/env bash -gcc -c -Wall -Werror -fpic sc_monkey_runner.c -gcc -shared -o sc_monkey_runner.so sc_monkey_runner.o +gcc -c -Wall -Werror -fpic -m64 sc_monkey_runner.c +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 \ No newline at end of file