mirror of
https://github.com/mkxp-z/mkxp-z.git
synced 2025-07-04 15:45:16 +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"
|
||||
"movnz esp, ebx"
|
||||
: "+a"(ret)
|
||||
: "c"(nimport * 4), "b"(&sp), "S"(¶m), "D"(ApiFunction)
|
||||
: "c"(nimport * 4), "S"(¶m), "D"(ApiFunction)
|
||||
: "memory");
|
||||
#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')}
|
||||
|
||||
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++ )')
|
||||
endif
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue