diff options
author | Manoj Gupta <manojgupta@google.com> | 2021-02-25 16:28:30 -0800 |
---|---|---|
committer | Manoj Gupta <manojgupta@chromium.org> | 2021-02-26 00:51:56 +0000 |
commit | 412cb5e0bf4286f26726824faffb32b70d66f66b (patch) | |
tree | e98ed0af1c7bc0d88a304d7b6979b873bc71ff69 /compiler_wrapper/testdata/cros_hardened_golden/gcc_clang_syntax.json | |
parent | 720f951928a9b8011c6f5a2144e68d936e1a7afc (diff) | |
download | toolchain-utils-412cb5e0bf4286f26726824faffb32b70d66f66b.tar.gz |
compiler_wrapper: pass --prefix argument to clang
ToT clang needs --prefix is needed to find the correct tools.
BUG=chromium:1182224
TEST=Updated compiler wrapper in SimpleChrome, nacl builds.
Change-Id: I8073e1a5482a23f38bb1e0d88e2b31ee2d97fa6e
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/2721199
Tested-by: Manoj Gupta <manojgupta@chromium.org>
Reviewed-by: George Burgess <gbiv@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.json | 4 |
1 files changed, 4 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 fd2c07ba..f3d487ee 100644 --- a/compiler_wrapper/testdata/cros_hardened_golden/gcc_clang_syntax.json +++ b/compiler_wrapper/testdata/cros_hardened_golden/gcc_clang_syntax.json @@ -36,6 +36,7 @@ "-pie", "-D_FORTIFY_SOURCE=2", "-fno-omit-frame-pointer", + "--prefix=../../bin/x86_64-cros-linux-gnu-", "main.cc", "-Wno-implicit-int-float-conversion", "-Wno-compound-token-split-by-space", @@ -116,6 +117,7 @@ "-pie", "-D_FORTIFY_SOURCE=2", "-fno-omit-frame-pointer", + "--prefix=../../bin/x86_64-cros-linux-gnu-", "main.cc", "-Wno-implicit-int-float-conversion", "-Wno-compound-token-split-by-space", @@ -191,6 +193,7 @@ "-pie", "-D_FORTIFY_SOURCE=2", "-fno-omit-frame-pointer", + "--prefix=../../bin/x86_64-cros-linux-gnu-", "main.cc", "-Wno-implicit-int-float-conversion", "-Wno-compound-token-split-by-space", @@ -249,6 +252,7 @@ "-pie", "-D_FORTIFY_SOURCE=2", "-fno-omit-frame-pointer", + "--prefix=../../bin/x86_64-cros-linux-gnu-", "main.cc", "-Wno-implicit-int-float-conversion", "-Wno-compound-token-split-by-space", |