From cd5360821a0d107dbc1a097ec93524fd9336b3e9 Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Tue, 2 Jul 2019 14:03:32 -0700 Subject: compilers: split gnu and gnulike compilers out of compilers I debated a bit whether both classes really belong in the same module, and decided that they do because the share a number of helpers. --- mesonbuild/compilers/objcpp.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mesonbuild/compilers/objcpp.py') diff --git a/mesonbuild/compilers/objcpp.py b/mesonbuild/compilers/objcpp.py index 3a232b5..38082d2 100644 --- a/mesonbuild/compilers/objcpp.py +++ b/mesonbuild/compilers/objcpp.py @@ -18,7 +18,8 @@ import typing from ..mesonlib import EnvironmentException, MachineChoice from .mixins.clike import CLikeCompiler -from .compilers import Compiler, ClangCompiler, GnuCompiler +from .compilers import Compiler, ClangCompiler +from .mixins.gnu import GnuCompiler class ObjCPPCompiler(CLikeCompiler, Compiler): def __init__(self, exelist, version, for_machine: MachineChoice, is_cross: bool, exe_wrap: typing.Optional[str]): -- cgit v1.1