aboutsummaryrefslogtreecommitdiff
path: root/tcc.c
diff options
context:
space:
mode:
authorbellard <bellard>2004-12-16 22:19:28 +0000
committerbellard <bellard>2004-12-16 22:19:28 +0000
commitfc72e41a557fe90d4ff4e547d7c10a2b8dc0b964 (patch)
treeeadef912d27967908b04d0796a113bd33e0b58df /tcc.c
parent6ab11406235c9ce1fd68785a6f1a3d548c575b59 (diff)
downloadtinycc-fc72e41a557fe90d4ff4e547d7c10a2b8dc0b964.tar.gz
tinycc-fc72e41a557fe90d4ff4e547d7c10a2b8dc0b964.tar.bz2
better gcc compatibility (Jon Griffiths)
Diffstat (limited to 'tcc.c')
-rw-r--r--tcc.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/tcc.c b/tcc.c
index 145b6f4..0803795 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 },
};