mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Fix Android detection.
This commit is contained in:
@@ -25,6 +25,7 @@
|
||||
- Fixes to `$define` handling of binary ops.
|
||||
- Fixes methodsof to pick up all sorts of extension methods. #2192
|
||||
- `--lsp` sometimes does not emit end tag #2194.
|
||||
- Improve Android termux detection.
|
||||
|
||||
### Stdlib changes
|
||||
- Deprecate `String.is_zstr` and `String.quick_zstr` #2188.
|
||||
|
||||
@@ -1949,6 +1949,7 @@ void target_setup(BuildTarget *target)
|
||||
compiler.platform.vendor = vendor_from_llvm_string(slice_next_token(&target_triple_string, '-'));
|
||||
compiler.platform.os = os_from_llvm_string(slice_next_token(&target_triple_string, '-'));
|
||||
compiler.platform.environment_type = environment_type_from_llvm_string(target_triple_string);
|
||||
if (compiler.platform.environment_type == ENV_TYPE_ANDROID) compiler.platform.os = OS_TYPE_ANDROID;
|
||||
|
||||
if (target->debug_info == DEBUG_INFO_NOT_SET)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user