diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2016-01-02 20:59:27 +0200 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2016-01-02 20:59:27 +0200 |
commit | edaf663ee2e7dfc01af3cace2f83a3fca7ef94d3 (patch) | |
tree | 4c20ee37e4ead5105bc445493822337c819ebb8d /compilers.py | |
parent | 20f0f805a7223b9173d9516085989baee137e924 (diff) | |
download | meson-edaf663ee2e7dfc01af3cace2f83a3fca7ef94d3.zip meson-edaf663ee2e7dfc01af3cace2f83a3fca7ef94d3.tar.gz meson-edaf663ee2e7dfc01af3cace2f83a3fca7ef94d3.tar.bz2 |
By default do not specify language version but instead use the compiler's default.
Diffstat (limited to 'compilers.py')
-rw-r--r-- | compilers.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/compilers.py b/compilers.py index 73fd8cd..be22d22 100644 --- a/compilers.py +++ b/compilers.py @@ -1280,7 +1280,7 @@ class GnuCCompiler(CCompiler): def get_options(self): opts = {'c_std' : coredata.UserComboOption('c_std', 'C language standard to use', ['none', 'c89', 'c99', 'c11', 'gnu89', 'gnu99', 'gnu11'], - 'c11')} + 'none')} if self.gcc_type == GCC_MINGW: opts.update({ 'c_winlibs': coredata.UserStringArrayOption('c_winlibs', 'Standard Win libraries to link against', @@ -1389,7 +1389,7 @@ class ClangCCompiler(CCompiler): def get_options(self): return {'c_std' : coredata.UserComboOption('c_std', 'C language standard to use', ['none', 'c89', 'c99', 'c11'], - 'c11')} + 'none')} def get_option_compile_args(self, options): args = [] @@ -1431,7 +1431,7 @@ class GnuCPPCompiler(CPPCompiler): def get_options(self): opts = {'cpp_std' : coredata.UserComboOption('cpp_std', 'C++ language standard to use', ['none', 'c++03', 'c++11', 'c++14'], - 'c++11')} + 'none')} if self.gcc_type == GCC_MINGW: opts.update({ 'cpp_winlibs': coredata.UserStringArrayOption('c_winlibs', 'Standard Win libraries to link against', @@ -1477,7 +1477,7 @@ class ClangCPPCompiler(CPPCompiler): def get_options(self): return {'cpp_std' : coredata.UserComboOption('cpp_std', 'C++ language standard to use', ['none', 'c++03', 'c++11', 'c++14'], - 'c++11')} + 'none')} def get_option_compile_args(self, options): args = [] |