|
316 | 316 | <_MonoCFLAGS Include="-I$(PkgMicrosoft_NETCore_Runtime_ICU_Transport)/runtimes/$(TargetOS)-$(TargetArchitecture)/native/include" /> |
317 | 317 | <_MonoCXXFLAGS Include="-Wl,-application_extension" /> |
318 | 318 | </ItemGroup> |
319 | | - <!-- iOS simulator specific options --> |
320 | | - <ItemGroup Condition="'$(TargetsiOS)' == 'true' and '$(TargetsiOSSimulator)' == 'true'"> |
| 319 | + <!-- iOS/tvOS simulator specific options --> |
| 320 | + <ItemGroup Condition="('$(TargetsiOS)' == 'true' and '$(TargetsiOSSimulator)' == 'true') or ('$(TargetstvOS)' == 'true' and '$(TargetstvOSSimulator)' == 'true')"> |
321 | 321 | <_MonoCMakeArgs Include="-DENABLE_MINIMAL=shared_perfcounters"/> |
322 | 322 | </ItemGroup> |
323 | | - <!-- iOS device specific options --> |
324 | | - <ItemGroup Condition="'$(TargetsiOS)' == 'true' and '$(TargetsiOSSimulator)' != 'true'"> |
| 323 | + <!-- iOS/tvOS device specific options --> |
| 324 | + <ItemGroup Condition="('$(TargetsiOS)' == 'true' and '$(TargetsiOSSimulator)' != 'true') or ('$(TargetstvOS)' == 'true' and '$(TargetstvOSSimulator)' != 'true')"> |
325 | 325 | <_MonoCMakeArgs Include="-DENABLE_MINIMAL=jit,portability,logging,shared_perfcounters" /> |
326 | 326 | <_MonoCMakeArgs Include="-DENABLE_VISIBILITY_HIDDEN=1"/> |
327 | 327 | <_MonoCMakeArgs Include="-DENABLE_LAZY_GC_THREAD_CREATION=1"/> |
328 | 328 | <_MonoCMakeArgs Include="-DENABLE_SIGALTSTACK=0"/> |
329 | 329 | <_MonoCFLAGS Include="-Werror=partial-availability" /> |
| 330 | + <_MonoCFLAGS Condition="'$(TargetstvOS)' == 'true'" Include="-fno-gnu-inline-asm" /> |
330 | 331 | <_MonoCFLAGS Include="-fexceptions" /> |
331 | 332 | <_MonoCPPFLAGS Include="-DSMALL_CONFIG" /> |
332 | 333 | <_MonoCPPFLAGS Include="-D_XOPEN_SOURCE" /> |
333 | 334 | <_MonoCPPFLAGS Include="-DHAVE_LARGE_FILE_SUPPORT=1" /> |
334 | 335 | <_MonoCXXFLAGS Include="-Werror=partial-availability" /> |
| 336 | + <_MonoCXXFLAGS Condition="'$(TargetstvOS)' == 'true'" Include="-fno-gnu-inline-asm" /> |
| 337 | + <_MonoCXXFLAGS Include="-fexceptions" /> |
335 | 338 | </ItemGroup> |
336 | 339 | <!-- Android specific options --> |
337 | 340 | <PropertyGroup Condition="'$(TargetsAndroid)' == 'true'"> |
|
0 commit comments