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:
parent
905d524b1e
commit
adf5c354b7
@ -269,7 +269,7 @@ project "glslang"
|
|||||||
"/wd4838", -- warning C4838: conversion from 'spv::GroupOperation' to 'unsigned int' requires a narrowing conversion
|
"/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 {
|
buildoptions {
|
||||||
"-Wno-logical-op",
|
"-Wno-logical-op",
|
||||||
"-Wno-maybe-uninitialized",
|
"-Wno-maybe-uninitialized",
|
||||||
|
Loading…
Reference in New Issue
Block a user