aboutsummaryrefslogtreecommitdiffstats
path: root/src/scripts/ci_build.py
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2018-12-09 11:45:50 -0500
committerJack Lloyd <[email protected]>2018-12-09 11:45:50 -0500
commit30698817d787adde42256e32dde0f32c082cd739 (patch)
treeaddc63ab8c57c3730ed97151691eca26007870f7 /src/scripts/ci_build.py
parent537b94953a5ffc490d7f656dff347ef3fc795663 (diff)
Add an i386 CI target to check on 32-bit asm
Diffstat (limited to 'src/scripts/ci_build.py')
-rwxr-xr-xsrc/scripts/ci_build.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/scripts/ci_build.py b/src/scripts/ci_build.py
index 00f20bff4..8c899e63d 100755
--- a/src/scripts/ci_build.py
+++ b/src/scripts/ci_build.py
@@ -146,6 +146,9 @@ def determine_flags(target, target_os, target_cpu, target_cc, cc_bin, ccache, ro
flags += ['--cpu=arm64', '--cc-abi-flags=-arch arm64 -stdlib=libc++']
else:
raise Exception("Unknown cross target '%s' for iOS" % (target))
+ elif target == 'cross-i386':
+ flags += ['--cpu=x86_32']
+
elif target == 'cross-win64':
# MinGW in 16.04 is lacking std::mutex for unknown reason
cc_bin = 'x86_64-w64-mingw32-g++'