diff options
author | Roman Shpuntov <roman.shpuntov@gmail.com> | 2019-06-12 18:08:29 +0700 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2019-06-13 21:31:03 +0300 |
commit | 3b17344b116d13b99b6436f3b9b09ca294079625 (patch) | |
tree | 89c36d1946e47e700ce6b43a221f4e38b8aa2ea3 /mesonbuild/compilers/compilers.py | |
parent | 4b73f5022262a2c8b2c1a4d234ea64d4714b343d (diff) | |
download | meson-3b17344b116d13b99b6436f3b9b09ca294079625.zip meson-3b17344b116d13b99b6436f3b9b09ca294079625.tar.gz meson-3b17344b116d13b99b6436f3b9b09ca294079625.tar.bz2 |
tvOS: added support AppleTVOS
Diffstat (limited to 'mesonbuild/compilers/compilers.py')
-rw-r--r-- | mesonbuild/compilers/compilers.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mesonbuild/compilers/compilers.py b/mesonbuild/compilers/compilers.py index ec88794..379ec1f 100644 --- a/mesonbuild/compilers/compilers.py +++ b/mesonbuild/compilers/compilers.py @@ -402,7 +402,7 @@ base_options = {'b_pch': coredata.UserBooleanOption('Use precompiled headers', T True), 'b_pie': coredata.UserBooleanOption('Build executables as position independent', False), - 'b_bitcode': coredata.UserBooleanOption('Generate and embed bitcode (only macOS and iOS)', + 'b_bitcode': coredata.UserBooleanOption('Generate and embed bitcode (only macOS/iOS/tvOS)', False), 'b_vscrt': coredata.UserComboOption('VS run-time library type to use.', ['none', 'md', 'mdd', 'mt', 'mtd', 'from_buildtype'], @@ -2166,8 +2166,8 @@ class ClangCompiler(GnuLikeCompiler): if extra_args is None: extra_args = [] # Starting with XCode 8, we need to pass this to force linker - # visibility to obey OS X and iOS minimum version targets with - # -mmacosx-version-min, -miphoneos-version-min, etc. + # visibility to obey OS X/iOS/tvOS minimum version targets with + # -mmacosx-version-min, -miphoneos-version-min, -mtvos-version-min etc. # https://github.com/Homebrew/homebrew-core/issues/3727 if self.compiler_type.is_osx_compiler and version_compare(self.version, '>=8.0'): extra_args.append('-Wl,-no_weak_imports') |