X-Git-Url: https://harrygodden.com/git/?p=convexer.git;a=blobdiff_plain;f=build.sh;fp=build.sh;h=6cf104cdab8285be63d89bdbb367b719fc65daf5;hp=cee4b103263e5d46786f7578740fd6a29f8c1c31;hb=2b81894272ade16dbe3f71514e8eb25b2962bf9e;hpb=12102f7b89f21fe5148e9a4506f505fcaef98da2 diff --git a/build.sh b/build.sh index cee4b10..6cf104c 100755 --- a/build.sh +++ b/build.sh @@ -16,8 +16,10 @@ fi target_os_windows(){ exe_ext=".exe" lib_ext=".dll" - compiler_prefix="i686-w64-mingw32-" + compiler_prefix="x86_64-w64-mingw32-" asan="" + + echo "CXR_GNU_LINUX=0" > platform.py } target_os_gnu_linux(){ @@ -26,6 +28,8 @@ target_os_gnu_linux(){ compiler_prefix="" asan="-fsanitize=address" + + echo "CXR_GNU_LINUX=1" > platform.py } compile(){