aboutsummaryrefslogtreecommitdiff
path: root/compiler_wrapper/testdata/cros_hardened_golden/gcc_clang_syntax.json
diff options
context:
space:
mode:
authorChristopher Di Bella <cjdb@google.com>2021-12-07 19:54:18 +0000
committerCommit Bot <commit-bot@chromium.org>2021-12-07 21:37:41 +0000
commit86fe58c1efd0db1d0d95b3cb0d6c34d105b39126 (patch)
tree2a26fac4faba08b637c65fc3a01f1431b2f8069b /compiler_wrapper/testdata/cros_hardened_golden/gcc_clang_syntax.json
parentd02a62da66a5ca7d7d849aca8289ca783a68a7c8 (diff)
downloadtoolchain-utils-86fe58c1efd0db1d0d95b3cb0d6c34d105b39126.tar.gz
compiler_wrapper: adds ${sysroot}/usr/lib to linker path
This change has been in chromiumos-overlay for a while now, but it apparently wasn't ever committed to toolchain-utils. BUG=b:209649372 TEST=This has been in prod for ages. Change-Id: Ied0b519f2f30ef275e921f41e6dbdee9c9442d03 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/3321723 Tested-by: Christopher Di Bella <cjdb@google.com> Auto-Submit: Christopher Di Bella <cjdb@google.com> Reviewed-by: Manoj Gupta <manojgupta@chromium.org> Commit-Queue: Manoj Gupta <manojgupta@chromium.org>
Diffstat (limited to 'compiler_wrapper/testdata/cros_hardened_golden/gcc_clang_syntax.json')
-rw-r--r--compiler_wrapper/testdata/cros_hardened_golden/gcc_clang_syntax.json7
1 files changed, 7 insertions, 0 deletions
diff --git a/compiler_wrapper/testdata/cros_hardened_golden/gcc_clang_syntax.json b/compiler_wrapper/testdata/cros_hardened_golden/gcc_clang_syntax.json
index ede8dd00..e2037e26 100644
--- a/compiler_wrapper/testdata/cros_hardened_golden/gcc_clang_syntax.json
+++ b/compiler_wrapper/testdata/cros_hardened_golden/gcc_clang_syntax.json
@@ -40,6 +40,7 @@
"-static-libgcc",
"--prefix=../../bin/x86_64-cros-linux-gnu-",
"main.cc",
+ "-L/usr/x86_64-cros-linux-gnu/usr/lib64",
"-Wno-implicit-int-float-conversion",
"-Wno-compound-token-split-by-space",
"-Wno-string-concatenation",
@@ -71,6 +72,7 @@
"-fno-omit-frame-pointer",
"-static-libgcc",
"main.cc",
+ "-L/usr/x86_64-cros-linux-gnu/usr/lib64",
"-mno-movbe"
],
"env_updates": [
@@ -126,6 +128,7 @@
"-static-libgcc",
"--prefix=../../bin/x86_64-cros-linux-gnu-",
"main.cc",
+ "-L/usr/x86_64-cros-linux-gnu/usr/lib64",
"-Wno-implicit-int-float-conversion",
"-Wno-compound-token-split-by-space",
"-Wno-string-concatenation",
@@ -157,6 +160,7 @@
"-fno-omit-frame-pointer",
"-static-libgcc",
"main.cc",
+ "-L/usr/x86_64-cros-linux-gnu/usr/lib64",
"-mno-movbe"
]
}
@@ -207,6 +211,7 @@
"-static-libgcc",
"--prefix=../../bin/x86_64-cros-linux-gnu-",
"main.cc",
+ "-L/usr/x86_64-cros-linux-gnu/usr/lib64",
"-Wno-implicit-int-float-conversion",
"-Wno-compound-token-split-by-space",
"-Wno-string-concatenation",
@@ -270,6 +275,7 @@
"-static-libgcc",
"--prefix=../../bin/x86_64-cros-linux-gnu-",
"main.cc",
+ "-L/usr/x86_64-cros-linux-gnu/usr/lib64",
"-Wno-implicit-int-float-conversion",
"-Wno-compound-token-split-by-space",
"-Wno-string-concatenation",
@@ -301,6 +307,7 @@
"-fno-omit-frame-pointer",
"-static-libgcc",
"main.cc",
+ "-L/usr/x86_64-cros-linux-gnu/usr/lib64",
"-mno-movbe"
],
"env_updates": [