diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2019-06-18 12:10:55 +0530 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2019-06-23 16:50:24 +0300 |
commit | 9042130e9a990497c0e53a43d2750fb907507f09 (patch) | |
tree | e4c7805cffee9935c0f79eadaf630b54a2b9cd71 /mesonbuild/compilers/objc.py | |
parent | 80856884ccfb3f05afa35ba865c2464a464fd931 (diff) | |
download | meson-9042130e9a990497c0e53a43d2750fb907507f09.zip meson-9042130e9a990497c0e53a43d2750fb907507f09.tar.gz meson-9042130e9a990497c0e53a43d2750fb907507f09.tar.bz2 |
compilers: Fix bitcode and other options for objc code
We were setting the base options for the Objective-C compiler
manually, due to which options such as b_bitcode and b_ndebug were not
getting set at all.
The base options here are the same as for C code with the Clang
compiler, so just use the same inherited list.
Also expand the bitcode test to ObjC and ObjC++ so this doesn't happen
again.
Diffstat (limited to 'mesonbuild/compilers/objc.py')
-rw-r--r-- | mesonbuild/compilers/objc.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/mesonbuild/compilers/objc.py b/mesonbuild/compilers/objc.py index f9ca793..b45f75b 100644 --- a/mesonbuild/compilers/objc.py +++ b/mesonbuild/compilers/objc.py @@ -74,4 +74,3 @@ class ClangObjCCompiler(ClangCompiler, ObjCCompiler): '1': default_warn_args, '2': default_warn_args + ['-Wextra'], '3': default_warn_args + ['-Wextra', '-Wpedantic']} - self.base_options = ['b_pch', 'b_lto', 'b_pgo', 'b_sanitize', 'b_coverage'] |