Skip to content

Commit

Permalink
fix: suppress C linkage errors
Browse files Browse the repository at this point in the history
  • Loading branch information
homuler committed Jan 16, 2021
1 parent 88f4f1b commit 461d019
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions C/mediapipe_api/gpu/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ cc_library(
name = "gl_texture_buffer",
srcs = ["gl_texture_buffer.cc"],
hdrs = ["gl_texture_buffer.h"],
copts = [
"-Wno-return-type-c-linkage",
],
deps = [
":gl_context",
"//mediapipe_api:common",
Expand All @@ -65,6 +68,9 @@ cc_library(
name = "gpu_buffer",
srcs = ["gpu_buffer.cc"],
hdrs = ["gpu_buffer.h"],
copts = [
"-Wno-return-type-c-linkage",
],
deps = [
":gl_texture_buffer",
"//mediapipe_api:common",
Expand Down

0 comments on commit 461d019

Please sign in to comment.