diff options
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/ci-build.sh | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tools/ci-build.sh b/tools/ci-build.sh index a7d79b1..366a407 100755 --- a/tools/ci-build.sh +++ b/tools/ci-build.sh | |||
@@ -11,8 +11,6 @@ set -x | |||
11 | # target to build for | 11 | # target to build for |
12 | : "${ci_target:=${CROSS_COMPILE%-}}" | 12 | : "${ci_target:=${CROSS_COMPILE%-}}" |
13 | 13 | ||
14 | install_prefix=$(${ci_target}-gcc --print-sysroot)/${ci_target} | ||
15 | |||
16 | case "$ci_buildsys" in | 14 | case "$ci_buildsys" in |
17 | (Makefile) | 15 | (Makefile) |
18 | ./configure --enable-shared --enable-static --enable-wine --cross-prefix=${ci_target}- | 16 | ./configure --enable-shared --enable-static --enable-wine --cross-prefix=${ci_target}- |
@@ -27,7 +25,7 @@ case "$ci_buildsys" in | |||
27 | cd build | 25 | cd build |
28 | cmake \ | 26 | cmake \ |
29 | --no-warn-unused-cli \ | 27 | --no-warn-unused-cli \ |
30 | -DCMAKE_FIND_ROOT_PATH=$install_prefix \ | 28 | -DCMAKE_FIND_ROOT_PATH=$(${ci_target}-gcc --print-sysroot)/${ci_target} \ |
31 | -DCMAKE_BUILD_TYPE=RelWithDebInfo \ | 29 | -DCMAKE_BUILD_TYPE=RelWithDebInfo \ |
32 | -DCMAKE_C_COMPILER=$(which ${ci_target}-gcc) \ | 30 | -DCMAKE_C_COMPILER=$(which ${ci_target}-gcc) \ |
33 | -DCMAKE_SYSTEM_PROCESSOR=${ci_target%-*-*} \ | 31 | -DCMAKE_SYSTEM_PROCESSOR=${ci_target%-*-*} \ |