mirror of
https://github.com/bensuperpc/dockcross.git
synced 2024-12-22 16:24:27 +01:00
Fix scripts
Fix scripts Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
This commit is contained in:
parent
5eee846afc
commit
b084b03655
@ -16,7 +16,7 @@ if (( $# >= 1 )); then
|
||||
chmod +x ./dockcross-"$image"
|
||||
|
||||
echo "Build $build_file"
|
||||
./dockcross-"$image" cmake -B "$build_file" -S . -G Ninja "$cmake_arg"
|
||||
./dockcross-"$image" cmake -B "$build_file" -S . -G Ninja $cmake_arg
|
||||
./dockcross-"$image" ninja -C "$build_file"
|
||||
else
|
||||
echo "Usage: ${0##*/} <docker imag (ex: linux-x64/linux-x64-clang/linux-arm64/windows-shared-x64/windows-static-x64...)> <cmake arg.>"
|
||||
|
@ -15,7 +15,7 @@ if (( $# >= 2 )); then
|
||||
chmod +x ./dockcross-"$image"
|
||||
|
||||
echo "Run command in dockcross-$image"
|
||||
./dockcross-"$image" "$command"
|
||||
./dockcross-"$image" $command
|
||||
else
|
||||
echo "Usage: ${0##*/} <docker imag (ex: linux-x64/linux-x64-clang/linux-arm64/windows-shared-x64/windows-static-x64...)> <command>"
|
||||
exit 1
|
||||
|
@ -16,7 +16,7 @@ if (( $# >= 1 )); then
|
||||
chmod +x ./dockcross-"$image"
|
||||
|
||||
echo "Build $build_file"
|
||||
./dockcross-"$image" bash -c 'make CXX=${CXX} CC=${CC} AR=${AR} AS=${AS} LD=${LD} CPP=${CPP} FC=${FC} ' "$make_arg"
|
||||
./dockcross-"$image" bash -c 'make CXX=${CXX} CC=${CC} AR=${AR} AS=${AS} LD=${LD} CPP=${CPP} FC=${FC}' $make_arg
|
||||
else
|
||||
echo "Usage: ${0##*/} <docker imag (ex: linux-x64/linux-x64-clang/linux-arm64/windows-shared-x64/windows-static-x64...)> <make arg.>"
|
||||
exit 1
|
||||
|
Loading…
Reference in New Issue
Block a user