diff options
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 f3f5339..1c7b0ef 100644 --- a/mysql/buildfile +++ b/mysql/buildfile @@ -190,13 +190,13 @@ libmysql/: cc.poptions += $sql_poptions if ($tclass == 'windows') libmysql/authentication_win/: cc.poptions += -DSECURITY_WIN32 -if ($tsys == 'win32-msvc') +if ($c.class == 'msvc') { # Disable warnings that pop up with /W3. # cc.coptions += /wd4311 /wd4113 /wd4996 /wd4244 /wd4267 /wd4334 /wd4800 /wd4091 } -else +elif ($c.class == 'gcc') { # We don't care about C++ ABI specification conformance, especially given # that only C functions are exported. So we omit -fabi-version=2. |