From 84dfca0ee94cd4117e937eec70d5317c183ed12e Mon Sep 17 00:00:00 2001 From: ds Date: Sat, 3 Oct 2020 17:13:38 +0300 Subject: [PATCH] fix: disable some warnings for apple clang. --- meson.build | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/meson.build b/meson.build index 4ea7ed4..b5fdd96 100644 --- a/meson.build +++ b/meson.build @@ -85,9 +85,11 @@ if isCLang or isGCC or (isIntel and not isWindows) '-fno-rtti' ] - flagsCompiler += [ - '-pedantic' - ] + if not isDarwin + flagsCompiler += [ + '-pedantic' + ] + endif if isOptimize flagsCompiler += '-msse2'