Fix linux build with gcc-8.2

Change-Id: I8090e55dae72f1b48b46147bad0439d22b513b74
Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/35409
Reviewed-by: Nicolas Capens <nicolascapens@google.com>
Tested-by: Chris Forbes <chrisforbes@google.com>
diff --git a/CMakeLists.txt b/CMakeLists.txt
index c896579..7162fb6 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1414,6 +1414,7 @@
     if(CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 8)
         list(APPEND LLVM_COMPILE_OPTIONS
             "-Wno-class-memaccess"  # memset/memcmp used on non-trivial class object
+            "-Wno-attributes"	# declared inline but not inline
         )
     endif()
 elseif(CMAKE_CXX_COMPILER_ID MATCHES "MSVC")