commit | 67ba57f89fd3a2f4b280361e650eaef0057baeaa | [log] [tgz] |
---|---|---|
author | Ben Chan <benchan@chromium.org> | Tue Apr 02 19:46:26 2019 |
committer | Ben Chan <benchan@chromium.org> | Tue Apr 02 19:54:04 2019 |
tree | b3c62375841cebbff66db0a3a8a1b9fb10be11e3 | |
parent | cdf25b2853257d986e4a3c00993182d39649395f [diff] |
build: make compiler warning options compatible with clang This patch updates m4/compiler-warnings.m4 as follows to make it more compatible with clang: * clang doesn't support -Wunused-but-set-variable, which can be replaced with -Wunused-variable as the latter covers unused variables with or without an assigned value and is supported by gcc and clang. * -Wno-unused-function is added to let clang ignore unused functions that are auto-generated by mbim-codegen.