diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-05-20 20:14:27 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-05-20 20:14:27 +0100 |
commit | 2bacbb3374587799c77a999f56352233a353b19e (patch) | |
tree | 1bcd1ca794782a57f9ab99006e97da5b785e042a /sci-libs/tensorflow/files/tensorflow-1.8.0-0002-dont-strip.patch | |
parent | 97967bbbae8f43c98315b079178f1717f130e302 (diff) |
gentoo resync : 20.05.2018
Diffstat (limited to 'sci-libs/tensorflow/files/tensorflow-1.8.0-0002-dont-strip.patch')
-rw-r--r-- | sci-libs/tensorflow/files/tensorflow-1.8.0-0002-dont-strip.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/sci-libs/tensorflow/files/tensorflow-1.8.0-0002-dont-strip.patch b/sci-libs/tensorflow/files/tensorflow-1.8.0-0002-dont-strip.patch new file mode 100644 index 000000000000..9f828f3c8efc --- /dev/null +++ b/sci-libs/tensorflow/files/tensorflow-1.8.0-0002-dont-strip.patch @@ -0,0 +1,29 @@ +diff --git a/tensorflow/BUILD b/tensorflow/BUILD +index cfafffdd13..8ed22ccfea 100644 +--- a/tensorflow/BUILD ++++ b/tensorflow/BUILD +@@ -470,7 +470,7 @@ tf_cc_shared_object( + # excludes all but a subset of function names. + # On MacOS, the linker does not support version_script, but has an + # an "-exported_symbols_list" command. -z defs disallows undefined +-# symbols in object files and -s strips the output. ++# symbols in object files. + + tf_cc_shared_object( + name = "libtensorflow.so", +@@ -484,7 +484,6 @@ tf_cc_shared_object( + "//tensorflow:windows_msvc": [], + "//conditions:default": [ + "-z defs", +- "-s", + "-Wl,--version-script", # This line must be directly followed by the version_script.lds file + "$(location //tensorflow/c:version_script.lds)", + ], +@@ -510,7 +509,6 @@ tf_cc_shared_object( + "//tensorflow:windows_msvc": [], + "//conditions:default": [ + "-z defs", +- "-s", + "-Wl,--version-script", # This line must be directly followed by the version_script.lds file + "$(location //tensorflow:tf_version_script.lds)", + ], |