mirror of
https://github.com/mkxp-z/mkxp-z.git
synced 2025-08-17 20:35:41 +02:00
actually require cxx compiler to be clang
This commit is contained in:
parent
13bd24a003
commit
5afa2ee527
2 changed files with 2 additions and 2 deletions
|
@ -312,7 +312,7 @@ RB_METHOD(MiniFFI_call) {
|
||||||
"test esp, ebx\n"
|
"test esp, ebx\n"
|
||||||
"movnz esp, ebx"
|
"movnz esp, ebx"
|
||||||
: "+a"(ret)
|
: "+a"(ret)
|
||||||
: "c"(nimport * 4), "b"(&sp), "S"(¶m), "D"(ApiFunction)
|
: "c"(nimport * 4), "S"(¶m), "D"(ApiFunction)
|
||||||
: "memory");
|
: "memory");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@ host_system = host_machine.system()
|
||||||
|
|
||||||
compilers = {'cpp': meson.get_compiler('cpp'), 'objc': meson.get_compiler('objc'), 'objcpp': meson.get_compiler('objcpp')}
|
compilers = {'cpp': meson.get_compiler('cpp'), 'objc': meson.get_compiler('objc'), 'objcpp': meson.get_compiler('objcpp')}
|
||||||
|
|
||||||
if compilers['objc'].get_id() != 'clang' or compilers['objcpp'].get_id() != 'clang'
|
if compilers['objc'].get_id() != 'clang' or compilers['objcpp'].get_id() != 'clang' or compilers['cpp'].get_id() != 'clang'
|
||||||
error('This program must be built with Clang! ( export CC=clang OBJC=clang CXX=clang++ OBJCXX=clang++ )')
|
error('This program must be built with Clang! ( export CC=clang OBJC=clang CXX=clang++ OBJCXX=clang++ )')
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue