Commit 8aa07683 by Alexis Hetu Committed by Alexis Hétu

Attempt to fix the MacOS build

On the mac_optional_gpu_tests_rel bot, a -Wall flag cancels out the -Wno-unused-local-typedef warning suppression and causes the build to fail. Attempting to reorder the configs order to solve the issue. Change-Id: Ic790f5cb7803be4749616d826e1368ef76e2c889 Reviewed-on: https://swiftshader-review.googlesource.com/11212Reviewed-by: 's avatarNicolas Capens <nicolascapens@google.com> Reviewed-by: 's avatarAlexis Hétu <sugoi@google.com> Tested-by: 's avatarAlexis Hétu <sugoi@google.com>
parent c4159a17
...@@ -36,22 +36,22 @@ configs_to_add += [ ...@@ -36,22 +36,22 @@ configs_to_add += [
template("swiftshader_source_set") { template("swiftshader_source_set") {
source_set(target_name) { source_set(target_name) {
configs -= configs_to_delete
configs += configs_to_add
forward_variables_from(invoker, "*", [ "configs" ]) forward_variables_from(invoker, "*", [ "configs" ])
if (defined(invoker.configs)) { if (defined(invoker.configs)) {
configs += invoker.configs configs += invoker.configs
} }
configs -= configs_to_delete
configs += configs_to_add
} }
} }
template("swiftshader_shared_library") { template("swiftshader_shared_library") {
shared_library(target_name) { shared_library(target_name) {
configs -= configs_to_delete
configs += configs_to_add
forward_variables_from(invoker, "*", [ "configs" ]) forward_variables_from(invoker, "*", [ "configs" ])
if (defined(invoker.configs)) { if (defined(invoker.configs)) {
configs += invoker.configs configs += invoker.configs
} }
configs -= configs_to_delete
configs += configs_to_add
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment