# build/platform/linux.py from .base import Platform from ..compiler.gcc import GCCCompiler from ..config import COMMON_FLAGS, TEST_FLAGS class LinuxPlatform(Platform): name = "linux" def compiler(self): return GCCCompiler() def cflags(self, test: bool = False): return TEST_FLAGS if test else COMMON_FLAGS