commit | 23742c0958ddb7216cbb02cde04109df888cd8db | [log] [tgz] |
---|---|---|
author | Chris Forbes <chrisforbes@google.com> | Wed Aug 21 12:30:06 2019 -0700 |
committer | Chris Forbes <chrisforbes@google.com> | Wed Aug 21 19:43:33 2019 +0000 |
tree | ef49ec8a8ac76f1229132ea85bb16a1c25c2fdb9 | |
parent | dbb6f3fa60b16497be9e6564328bf312b5a5976d [diff] |
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")