Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -113,8 +113,7 @@ int main(int argc, int argv[])
	return 0;
}
___EOF___
${CROSS_COMPILE}gcc -static -Os -o init init.c
strip init
${CROSS_COMPILE}gcc -s -static -Os -o init init.c
rm init.c
echo "Done creating a statically linked C-language initrd"