Skip to content

Commit

Permalink
Add "-std=c99" to matrix examples to fix compilation bugs. (#44)
Browse files Browse the repository at this point in the history
Fixes #43.
  • Loading branch information
katre authored and davidzchen committed Mar 30, 2017
1 parent 88e3c0f commit dc4d7e2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion examples/matrix/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,13 @@ cc_library(
name = "native_matrix",
srcs = ["src/matrix.c"],
hdrs = ["src/matrix.h"],
copts = ["-std=c99"],
)

cc_test(
name = "native_matrix_test",
srcs = ["src/matrix_test.c"],
copts = ["-std=c99"],
deps = [
":native_matrix",
],
Expand All @@ -25,7 +27,7 @@ rust_library(
],
deps = [
":native_matrix",
"@libc//:libc"
"@libc//:libc",
],
)

Expand Down

0 comments on commit dc4d7e2

Please # to comment.