Commit 18d7bf8e authored by Willy Tarreau's avatar Willy Tarreau Committed by Paul E. McKenney

rcutorture: Always strip using the cross-compiler

Strip using -s on the compiler command line instead of calling the "strip"
utility as the latter isn't necessarily compatible with the target arch.
Signed-off-by: default avatarWilly Tarreau <w@1wt.eu>
Signed-off-by: default avatarPaul E. McKenney <paulmck@linux.vnet.ibm.com>
parent 70e9f504
...@@ -113,8 +113,7 @@ int main(int argc, int argv[]) ...@@ -113,8 +113,7 @@ int main(int argc, int argv[])
return 0; return 0;
} }
___EOF___ ___EOF___
${CROSS_COMPILE}gcc -static -Os -o init init.c ${CROSS_COMPILE}gcc -s -static -Os -o init init.c
strip init
rm init.c rm init.c
echo "Done creating a statically linked C-language initrd" echo "Done creating a statically linked C-language initrd"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment