From 50c2c8f4c56795125768e0b1d4e2798ec9880115 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Thu, 30 Nov 2017 03:30:04 +0300 Subject: Use compiler class instead of id where appropriate --- libsqlite3/buildfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.1