scripts: Fix unknown compiler flag for clang (#2934)

This fixes the following warnings with clang based toolchain

warning: unknown warning option '-Wno-logical-op'; did you mean '-Wno-long-long'? [-Wunknown-warning-option]
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option]
This commit is contained in:
Biswapriyo Nath 2022-09-29 20:22:17 +05:30 committed by GitHub
parent 905d524b1e
commit adf5c354b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -269,7 +269,7 @@ project "glslang"
"/wd4838", -- warning C4838: conversion from 'spv::GroupOperation' to 'unsigned int' requires a narrowing conversion
}
configuration { "mingw* or linux*" }
configuration { "mingw-gcc or linux-gcc" }
buildoptions {
"-Wno-logical-op",
"-Wno-maybe-uninitialized",