summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-11-30 03:30:04 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-11-30 03:30:04 +0300
commit50c2c8f4c56795125768e0b1d4e2798ec9880115 (patch)
treec08ac0df9dece8c3edf57964445a320be72caf09
parentf1ad928485e38d81959a688c88359ca72536ac71 (diff)
Use compiler class instead of id where appropriate
-rw-r--r--libsqlite3/buildfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/libsqlite3/buildfile b/libsqlite3/buildfile
index 754b425..074713f 100644
--- a/libsqlite3/buildfile
+++ b/libsqlite3/buildfile
@@ -64,7 +64,7 @@ if ($c.target.class != "windows")
# Both Debian and Fedora add this so gotta be important.
#
-if ($c.id != "msvc")
+if ($c.class == 'gcc')
c.coptions += -fno-strict-aliasing
# It would have been cleaner to handle this in a header but that will require