From fc72e41a557fe90d4ff4e547d7c10a2b8dc0b964 Mon Sep 17 00:00:00 2001 From: bellard Date: Thu, 16 Dec 2004 22:19:28 +0000 Subject: [PATCH] better gcc compatibility (Jon Griffiths) --- tcc.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tcc.c b/tcc.c index 145b6f48..08037953 100644 --- a/tcc.c +++ b/tcc.c @@ -10086,6 +10086,7 @@ enum { TCC_OPTION_run, TCC_OPTION_v, TCC_OPTION_w, + TCC_OPTION_pipe, }; static const TCCOption tcc_options[] = { @@ -10102,7 +10103,7 @@ static const TCCOption tcc_options[] = { #ifdef CONFIG_TCC_BCHECK { "b", TCC_OPTION_b, 0 }, #endif - { "g", TCC_OPTION_g, 0 }, + { "g", TCC_OPTION_g, TCC_OPTION_HAS_ARG | TCC_OPTION_NOSEP }, { "c", TCC_OPTION_c, 0 }, { "static", TCC_OPTION_static, 0 }, { "shared", TCC_OPTION_shared, 0 }, @@ -10120,6 +10121,7 @@ static const TCCOption tcc_options[] = { { "print-search-dirs", TCC_OPTION_print_search_dirs, 0 }, { "v", TCC_OPTION_v, 0 }, { "w", TCC_OPTION_w, 0 }, + { "pipe", TCC_OPTION_pipe, 0}, { NULL }, }; -- 2.11.4.GIT