diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2017-11-27 13:12:57 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2017-11-27 13:12:57 +0200 |
commit | be0b110e862dcf6e6aa1845e0f6e575c9f1a6561 (patch) | |
tree | 7497f91265cf7f04ea947b39b02f82f11d5a5008 /mysql/buildfile | |
parent | ae32cd698632a3b69ba019d1f75761ddf736a484 (diff) |
Use compiler class instead of id where appropriate
Diffstat (limited to 'mysql/buildfile')
-rw-r--r-- | mysql/buildfile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mysql/buildfile b/mysql/buildfile index 21d1a68..dfd433e 100644 --- a/mysql/buildfile +++ b/mysql/buildfile @@ -185,13 +185,13 @@ zlib_poptions = "-I$src_base/zlib" plugins/: c.poptions =+ $mariadb_poptions libmariadb/: c.poptions =+ $mariadb_poptions $zlib_poptions -if ($tsys == 'win32-msvc') +if ($c.class == 'msvc') { # Disable warnings that pop up with /W3. # c.coptions += /wd4996 /wd4267 } -else +elif ($c.class == 'gcc') { # Disable all warnings. Upstream doesn't seem to care about these and it is # not easy to disable specific warnings in a way that works across |