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

Commit 70e9f504 authored by Paul E. McKenney's avatar Paul E. McKenney Committed by Paul E. McKenney
Browse files

rcutorture: Add cross-compile capability to initrd.sh



This adds the CROSS_COMPILE environment to the initrd.sh script's
gcc command to enable cross compilation.

Reported-by: default avatarWilly Tarreau <w@1wt.eu>
Signed-off-by: default avatarPaul E. McKenney <paulmck@linux.vnet.ibm.com>
parent 229ab0cb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -113,7 +113,7 @@ int main(int argc, int argv[])
	return 0;
}
___EOF___
cc -static -Os -o init init.c
${CROSS_COMPILE}gcc -static -Os -o init init.c
strip init
rm init.c
echo "Done creating a statically linked C-language initrd"