mirror of
https://git.freebsd.org/ports.git
synced 2025-05-15 08:41:51 -04:00
PR: 270411 Submitted by: Ivan <ivan@drm.su>, Matthieu Volat <mazhe@alkumuna.eu> Approved by: portmgr (unbreak)
31 lines
1.2 KiB
Text
31 lines
1.2 KiB
Text
--- tensorflow/BUILD.orig 2022-05-23 00:28:22.000000000 +0200
|
|
+++ tensorflow/BUILD 2023-03-30 17:47:04.211287000 +0200
|
|
@@ -938,8 +938,11 @@
|
|
],
|
|
"//tensorflow:windows": [],
|
|
"//tensorflow:freebsd": [
|
|
+ "-Wl,--unresolved-symbols=ignore-all",
|
|
+ "-Wl,--undefined-version",
|
|
"-Wl,--version-script,$(location //tensorflow:tf_framework_version_script.lds)",
|
|
"-lexecinfo",
|
|
+ "-L/usr/local/lib",
|
|
],
|
|
"//conditions:default": [
|
|
"-Wl,--version-script,$(location //tensorflow:tf_framework_version_script.lds)",
|
|
@@ -1021,7 +1024,7 @@
|
|
# copybara:uncomment_end
|
|
"//conditions:default": [
|
|
"-z defs",
|
|
- "-Wl,--version-script,$(location //tensorflow/c:version_script.lds)",
|
|
+ "-L/lib,-L/usr/lib,--unresolved-symbols=ignore-all,-Wl,--undefined-version,-Wl,--version-script,$(location //tensorflow/c:version_script.lds)",
|
|
],
|
|
}),
|
|
per_os_targets = True,
|
|
@@ -1054,6 +1057,7 @@
|
|
"//tensorflow:windows": [],
|
|
"//conditions:default": [
|
|
"-z defs",
|
|
+ "-Wl,--undefined-version",
|
|
"-Wl,--version-script,$(location //tensorflow:tf_version_script.lds)",
|
|
],
|
|
}),
|