Skip to content

Commit

Permalink
Add png.BUILD.patch to lib-tensorflow_cc-shared-1.8.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
psyhtest committed Aug 3, 2018
1 parent 40f5787 commit 301046a
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions package/lib-tensorflow_cc-shared-1.8.0/patch.linux/png.BUILD.patch
@@ -0,0 +1,12 @@
diff --git a/third_party/png.BUILD b/third_party/png.BUILD
index 76ab32d69c..bc4551a509 100644
--- a/third_party/png.BUILD
+++ b/third_party/png.BUILD
@@ -35,6 +35,7 @@ cc_library(
],
includes = ["."],
linkopts = ["-lm"],
+ copts = ["-DPNG_ARM_NEON_OPT=0"],
visibility = ["//visibility:public"],
deps = ["@zlib_archive//:zlib"],
)

0 comments on commit 301046a

Please sign in to comment.