1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-29 11:21:54 +03:00
samba-mirror/script/identity_cc.sh
Uri Simchoni 13ce285b24 waf: add a cross-execute program that runs natively
This added script is for supporting self-testing of the cross-build
infrastructure using autobuild.

The script can be used as the --cross-execute parameter
to samba's configure process, but it actually runs the program
natively on the build machine. This can be done if the build is
actually a native build disguised as a cross-build, i.e. native
toolchain is being used.

Signed-off-by: Uri Simchoni <urisimchoni@gmail.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
2015-05-20 11:19:11 +02:00

11 lines
337 B
Bash
Executable File

#!/bin/sh
#An "identity cross-execute" script
#It can be used for testing the cross-build infrastructure
#as follows:
#./configure --cross-compile --cross-execute=./script/identity_cc.sh
#If the build is actually a native build, then the configuration
#result should be just like running ./configure without --cross-compile.
eval "$@"