aboutsummaryrefslogtreecommitdiff
path: root/gcc/lto-wrapper.c
diff options
context:
space:
mode:
authorThomas Schwinge <thomas@codesourcery.com>2015-09-30 18:42:32 +0200
committerThomas Schwinge <tschwinge@gcc.gnu.org>2015-09-30 18:42:32 +0200
commit0fe78d19df60f6131586feb556c1e92bb3c03961 (patch)
tree90e7f0da3604c49ac7c8074cf1698c8b329a2086 /gcc/lto-wrapper.c
parent8c30df3ed1eea0610badb56f64f04f174580d899 (diff)
downloadgcc-0fe78d19df60f6131586feb556c1e92bb3c03961.zip
gcc-0fe78d19df60f6131586feb556c1e92bb3c03961.tar.gz
gcc-0fe78d19df60f6131586feb556c1e92bb3c03961.tar.bz2
Pass on the verbose flag "-v" to/in the mkoffloads
gcc/ * config/i386/intelmic-mkoffload.c (main): Parse "-v" flag. (generate_target_descr_file, generate_target_offloadend_file) (generate_host_descr_file, prepare_target_image, main): Pass it on. * config/nvptx/mkoffload.c (main): Parse "-v" flag. (compile_native, main): Pass it on. * lto-wrapper.c (compile_offload_image): Likewise. From-SVN: r228301
Diffstat (limited to 'gcc/lto-wrapper.c')
-rw-r--r--gcc/lto-wrapper.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/lto-wrapper.c b/gcc/lto-wrapper.c
index e13a82a..f932758 100644
--- a/gcc/lto-wrapper.c
+++ b/gcc/lto-wrapper.c
@@ -685,6 +685,8 @@ compile_offload_image (const char *target, const char *compiler_path,
struct obstack argv_obstack;
obstack_init (&argv_obstack);
obstack_ptr_grow (&argv_obstack, compiler);
+ if (verbose)
+ obstack_ptr_grow (&argv_obstack, "-v");
obstack_ptr_grow (&argv_obstack, "-o");
obstack_ptr_grow (&argv_obstack, filename);